This is an aggregated tree not listable as this IIRC.

SystemInstance.get().getComponent(ContainerSystem.class).getJNDIContext()
is the one.
 Le 20 juil. 2015 13:44, "Rohan Beckles" <[email protected]> a écrit :

> Hi Romain --
>
> Under the "java:global" tree I get
>
> *****PRINTING java:global JNDI TREE*****
> -->openejb: org.apache.openejb.core.ivm.naming.IvmContext
>     -->openejb: org.apache.openejb.core.ivm.naming.IvmContext
>
> -->ConfigurationInfo!org.apache.openejb.assembler.classic.cmd.ConfigurationInfo:
> org.apache.openejb.core.ivm.naming.BusinessRemoteReference
>
> There is nothing available under either "java:openejb" or
> "openejb:Resource".  Basically, the end
> result I'm looking for is to be able to do the following (pseudo Java):
>
> Context initialContext = new InitialContext();
> Context envContext = initialContext.lookup("java:comp/env" |
> "java:global");
> java.jcr.Repository repository = envContext.lookup("openejb/jackrabbit" |
> "ra/jackrabbit"):  //or whichever name it's mapped to.
>
> So which tree would the resource adapter(s) be mapped under?
>
> Many thanks,
> --
> Rohan Beckles
> [email protected]
>
>

Reply via email to