> > But I notes from the debug log that the system creates multiple > instances of the BuilderFactory & the interceptor - one for each > <invoke-factory> config in the xml file. If I replace my interceptor > with the "hivemind.LoggingInterceptor", the behavior is the same. > > I would like to know if this is the system behavior if I add a > interceptor in the service "hivemind.BuilderFactory" since the > instantiation of interceptor requests the > "hivemind.BuilderFactory" service. >
hivemind.BuilderFactory is a singleton; it is created exactly once. I'd like to see the debug output you mention; there must be misleading output (perhaps due to the recent refactoring). -- Howard M. Lewis Ship Creator, Tapestry: Java Web Components http://jakarta.apache.org/tapestry http://jakarta.apache.org/commons/sandbox/hivemind/ http://javatapestry.blogspot.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
