Package com.caucho.config.types

Examples of com.caucho.config.types.EjbRef


    return env;
  }
 
  public EjbRef createEjbRef()
  {
    EjbRef ref = new EjbRef();
   
    ref.setProgram(true);
    ClassLoader loader = Thread.currentThread().getContextClassLoader();
    ref.setJndiClassLoader(loader);
   
    _resourceList.add(ref);
   
    return ref;
  }
View Full Code Here


   * ejb-ref configuration
   */
  public EjbRef createEjbRef()
  {
    if (_controller != null && _controller.getArchivePath() != null)
      return new EjbRef(_controller.getArchivePath());
    else
      return new EjbRef();
  }
View Full Code Here

   * Gets an ejb home.
   */
  Class getEjbHome(String ejbName)
    throws ConfigException
  {
    EjbRef ref = _ejbRefMap.get(ejbName);
   
    if (ref != null)
      return ref.getHome();
    else
      return null;
  }
View Full Code Here

TOP

Related Classes of com.caucho.config.types.EjbRef

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.