org.apache.openejb.assembler.classic
Class JndiEncBuilder

java.lang.Object
  extended by org.apache.openejb.assembler.classic.JndiEncBuilder

public class JndiEncBuilder
extends Object

TODO: This class is essentially an over glorified sym-linker. The names we were linking to are no longer guaranteed to be what we assume them to be. We need to come up with a different internal naming structure for the global JNDI and finally create the default which will be the default symlinked version of all the components.


Field Summary
static Logger logger
           
 
Constructor Summary
JndiEncBuilder(JndiEncInfo jndiEnc, List<Injection> injections, String moduleId, ClassLoader classLoader)
           
JndiEncBuilder(JndiEncInfo jndiEnc, List<Injection> injections, String transactionType, String moduleId, ClassLoader classLoader)
           
 
Method Summary
static boolean bindingExists(Context context, Name contextName)
           
 Context build()
           
 Map<String,Object> buildMap()
           
 boolean isClient()
           
 boolean isUseCrossClassLoaderRef()
           
 void setClient(boolean client)
           
 void setUseCrossClassLoaderRef(boolean useCrossClassLoaderRef)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static final Logger logger
Constructor Detail

JndiEncBuilder

public JndiEncBuilder(JndiEncInfo jndiEnc,
                      List<Injection> injections,
                      String moduleId,
                      ClassLoader classLoader)
               throws OpenEJBException
Throws:
OpenEJBException

JndiEncBuilder

public JndiEncBuilder(JndiEncInfo jndiEnc,
                      List<Injection> injections,
                      String transactionType,
                      String moduleId,
                      ClassLoader classLoader)
               throws OpenEJBException
Throws:
OpenEJBException
Method Detail

isUseCrossClassLoaderRef

public boolean isUseCrossClassLoaderRef()

setUseCrossClassLoaderRef

public void setUseCrossClassLoaderRef(boolean useCrossClassLoaderRef)

isClient

public boolean isClient()

setClient

public void setClient(boolean client)

build

public Context build()
              throws OpenEJBException
Throws:
OpenEJBException

buildMap

public Map<String,Object> buildMap()
                            throws OpenEJBException
Throws:
OpenEJBException

bindingExists

public static boolean bindingExists(Context context,
                                    Name contextName)


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.