org.jboss.naming
Class ExternalContext.SerializableInitialContext
java.lang.Object
javax.naming.RefAddr
org.jboss.naming.ExternalContext.SerializableInitialContext
- All Implemented Interfaces:
- javax.naming.spi.ObjectFactory, javax.naming.Referenceable, java.io.Serializable
- Enclosing class:
- ExternalContext (src)
- public static class ExternalContext.SerializableInitialContext
- extends javax.naming.RefAddr
- implements javax.naming.Referenceable, java.io.Serializable, javax.naming.spi.ObjectFactory
The external InitialContext information class. It acts as the
RefAddr and ObjectFactory for the external IntialContext and can
be marshalled to a remote client.
- See Also:
- Serialized Form
Fields inherited from class javax.naming.RefAddr |
addrType |
Methods inherited from class javax.naming.RefAddr |
equals, getType, hashCode, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ExternalContext.SerializableInitialContext
public ExternalContext.SerializableInitialContext()
ExternalContext.SerializableInitialContext
public ExternalContext.SerializableInitialContext(java.lang.String addrType)
getJndiName
public java.lang.String getJndiName()
setJndiName
public void setJndiName(java.lang.String jndiName)
getCacheContext
public boolean getCacheContext()
setCacheContext
public void setCacheContext(boolean cacheContext)
getInitialContext
public java.lang.String getInitialContext()
loadClass
public void loadClass(java.lang.String className)
throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
setProperties
public void setProperties(java.util.Properties props)
getProperties
public java.util.Properties getProperties()
loadProperties
public void loadProperties(java.lang.String contextPropsURL)
throws java.io.IOException
- Throws:
java.io.IOException
getObjectInstance
public java.lang.Object getObjectInstance(java.lang.Object obj,
javax.naming.Name name,
javax.naming.Context nameCtx,
java.util.Hashtable environment)
throws java.lang.Exception
- Specified by:
getObjectInstance
in interface javax.naming.spi.ObjectFactory
- Throws:
java.lang.Exception
getReference
public javax.naming.Reference getReference()
throws javax.naming.NamingException
- Specified by:
getReference
in interface javax.naming.Referenceable
- Throws:
javax.naming.NamingException
getContent
public java.lang.Object getContent()