hivemind-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hivemind-...@jakarta.apache.org
Subject [Jakarta HiveMind Wiki] Updated: Examples
Date Mon, 07 Jun 2004 14:31:58 GMT
   Date: 2004-06-07T07:31:57
   Editor: MarkoKocic <markokocic@hotmail.com>
   Wiki: Jakarta HiveMind Wiki
   Page: Examples
   URL: http://wiki.apache.org/jakarta-hivemind/Examples

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -120,13 +120,15 @@
 
 {{{
 service-point(id=CayenneService interface=markko.hivemind.CayenneService) {
-		invoke-factory(service-id=hivemind.BuilderFactory) {
-			construct(class=markko.hivemind.CayenneServiceImpl,initialize-method=init)
-		}
-		interceptor (service-id=hivemind.LoggingInterceptor)
-	}
+  invoke-factory(service-id=hivemind.BuilderFactory) {
+    construct (class=markko.hivemind.CayenneServiceImpl) {
+      initialize-method (method=init)
+    }
+  }
+  interceptor (service-id=hivemind.LoggingInterceptor)
+}
 }}}
 
-Excuse any sdl errors - I am using the xml format. I assume your LoggingInterceptors are
there for testing? My take on the logging interceptor is that you can swap it in for debugging
(and I want to investigate doing this at runtime) and leave it out when your code is in production,
as your production code still contains the appropriate logging code.
+Excuse any sdl errors - I am using the xml format (*fixed*). I assume your LoggingInterceptors
are there for testing? My take on the logging interceptor is that you can swap it in for debugging
(and I want to investigate doing this at runtime) and leave it out when your code is in production,
as your production code still contains the appropriate logging code.
 
 Maybe someone with more knowledge with Cayenne could help you out with this. We use Hibernate
and have another service which sits on top. This is how our code was pre-HiveMind (I am looking
at persisting configuration before we go full steam on using HiveMind in this part of the
application.) We are using Hibernate and OSCache, so there are 3 properties/xml files that
form parts of the configuration before you factor in application specifics.

---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-cvs-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-cvs-help@jakarta.apache.org


Mime
View raw message