AFAIK, Action interface is designed so that implementations can be ThreadSafe, reducing memory usage. Note that AbstractAction is a Action. But if you really want your component to be Poolable you must implement interface org.apache.avalon.excalibur.pool.Poolable To mark you component as ThreadSafe, your action must implement interface org.apache.avalon.framework.thread.ThreadSafe.
Hope this helps, Rui On Tue, 2004-06-08 at 10:34, Ole Hildebrandt wrote: > Hi, > > I wrote my own Action extending AbstractAcion. I configured it in the > sitemap like this; > > <map:action name="dispatchaction" pool-min="4" pool-grow="4" > pool-max="20" src="de.test.cocoon.DispatcherAction"/> > > Exploring the Logs i found out that the Action is not Pooled: > > http-8081-Processor25/DefaultComponentFactory: ComponentFactory creating > new instance of de.test.cocoon.DispatcherAction. > http-8081-Processor25/DefaultComponentFactory: ComponentFactory > decommissioning instance of de.test.cocoon.DispatcherAction. > > Is there something I forgot? Do i have to implement a certain interface > or configure pooling somewhere else? > > Thanks for any suggestions > > Ole > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Rui Alberto L. GonÃalves <[EMAIL PROTECTED]> PT InovaÃÃo --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
