tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From exabrial <exabrial+open...@gmail.com>
Subject OpenEJB.xml and a custom javax.naming.spi.ObjectFactory
Date Mon, 02 Jul 2012 21:52:24 GMT
Hey guys,

One of the features I'm missing from GlassFish is the ability to bind an
ObjectFactory into JNDI. We have a few of these written and need to put them
into our instance. I'm also hoping to write a brand new one that could be
used to create JNDI links (see previous thread in mailing list).

Here's a simple example of a custom ObjectFactory: 
http://grepcode.com/file/repo1.maven.org/maven2/org.glassfish.connectors/connectors-internal-api/3.0/org/glassfish/resources/custom/factory/PrimitivesAndStringFactory.java

Is there a way to put an ObjectFactory like that into conf/openejb.xml? I've
read all the documentation on Resources and didn't find anything. I found
some old mails on the openejb.iusers that say if you're in Tomcat, you can
put it into context.xml, but I was curious if there was a way to do this on
OpenEJB standalone server.

Thanks guys,
-Jonathan

--
View this message in context: http://openejb.979440.n4.nabble.com/OpenEJB-xml-and-a-custom-javax-naming-spi-ObjectFactory-tp4655970.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Mime
View raw message