org.apache.openejb.core.ivm.naming
Class ContextualJndiReference

java.lang.Object
  extended by javax.naming.Reference
      extended by org.apache.xbean.naming.reference.SimpleReference
          extended by org.apache.openejb.core.ivm.naming.Reference
              extended by org.apache.openejb.core.ivm.naming.IntraVmJndiReference
                  extended by org.apache.openejb.core.ivm.naming.ContextualJndiReference
All Implemented Interfaces:
Serializable, Cloneable

public class ContextualJndiReference
extends IntraVmJndiReference

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.xbean.naming.reference.SimpleReference
org.apache.xbean.naming.reference.SimpleReference.SimpleObjectFactory
 
Field Summary
static ThreadLocal<Boolean> followReference
           
 
Fields inherited from class javax.naming.Reference
addrs, classFactory, classFactoryLocation, className
 
Constructor Summary
ContextualJndiReference(String jndiName)
           
 
Method Summary
 void addPrefix(String value)
           
 Object getObject()
           
 boolean hasNoMorePrefix()
           
 String lastPrefix()
           
 int prefixesSize()
           
 void removePrefix(String value)
           
 void setDefaultValue(Object defaultValue)
           
 String toString()
           
 
Methods inherited from class org.apache.openejb.core.ivm.naming.IntraVmJndiReference
getJndiName
 
Methods inherited from class org.apache.openejb.core.ivm.naming.Reference
getContent
 
Methods inherited from class org.apache.xbean.naming.reference.SimpleReference
add, add, clear, clone, equals, get, get, getAll, getClassName, getFactoryClassLocation, getFactoryClassName, hashCode, remove, size
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

followReference

public static final ThreadLocal<Boolean> followReference
Constructor Detail

ContextualJndiReference

public ContextualJndiReference(String jndiName)
Method Detail

setDefaultValue

public void setDefaultValue(Object defaultValue)

addPrefix

public void addPrefix(String value)

removePrefix

public void removePrefix(String value)

lastPrefix

public String lastPrefix()

hasNoMorePrefix

public boolean hasNoMorePrefix()

prefixesSize

public int prefixesSize()

getObject

public Object getObject()
                 throws NamingException
Overrides:
getObject in class IntraVmJndiReference
Throws:
NamingException

toString

public String toString()
Overrides:
toString in class IntraVmJndiReference


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.