openejb-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lupu.slobodu" <>
Subject Re: Custom Resource Factory
Date Thu, 07 Aug 2008 15:32:13 GMT

I dont know if the custom injection is flexible enough.I need to be able to
load multiple xml configuration files.Is it possible with the custom
injection mechanism? If I use the openejb embedded in tomcat,  you think it
is possible to plugin the  ObjectFactory in the tomcat jndi and look it up
from a openejb session bean?

David Blevins wrote:
> On Aug 6, 2008, at 7:54 AM, lupu.slobodu wrote:
>> How can one configure a custom resource factory(implementation of the
>> javax.naming.spi.ObjectFactory interface). The custom resource factory
>> should be injectable into a stateless.
> We don't have anything for pluging in an  
> javax.naming.spi.ObjectFactory, but we do have the ability for you to  
> plug in your own java.beans.PropertyEditor and have custom resources  
> injected that way.
> See this example for details:
> -David

View this message in context:
Sent from the OpenEJB User mailing list archive at

View raw message