org.openxava.ejbx
Class BeansContext

java.lang.Object
  extended by org.openxava.ejbx.BeansContext

public class BeansContext
extends java.lang.Object

It provides the default context to look up Enterprise JavaBeans.

It's required to configure BeansContext.properties. See the doc in BeansContextProviderFactory.

Author:
Javier Paniza

Constructor Summary
BeansContext()
           
 
Method Summary
static IContext get()
          Context to lookup EJBs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeansContext

public BeansContext()
Method Detail

get

public static IContext get()
                    throws javax.naming.NamingException
Context to lookup EJBs.

Returns:
Not null.
Throws:
javax.naming.NamingException