users@glassfish.java.net

Naming environment in a startup module

From: <forums_at_java.net>
Date: Wed, 29 Feb 2012 04:28:32 -0600 (CST)

 Hi all,

I'm currently writing a Startup module for Glassfish v3.1 by implementing the
org.glassfish.api.Startup interface.

I just want to get the java:appserver/TransactionManager from the naming
environment.

 

Is there any way to get a reference to the current InitialContext as it
exists in the old fashion LifecycleListener event context
http://docs.oracle.com/cd/E18930_01/html/821-2418/beans.html#beanw [1].

Otherwise, any other way to do this ?

Thanks

 


[1] http://docs.oracle.com/cd/E18930_01/html/821-2418/beans.html#beanw

--
[Message sent by forum member 'brasseld']
View Post: http://forums.java.net/node/883879