tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: OpenEJB.xml and a custom javax.naming.spi.ObjectFactory
Date Mon, 02 Jul 2012 21:54:09 GMT
Hi,

did you try using tomcat context.xml?

- Romain


2012/7/2 exabrial <exabrial+openejb@gmail.com>

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message