当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
ExternalContext.SerializableInitialContext (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.naming
Class ExternalContext.SerializableInitialContext
java.lang.Object
javax.naming.RefAddr
org.jboss.naming.ExternalContext.SerializableInitialContext
- All Implemented Interfaces:
- ObjectFactory, Referenceable, Serializable
- Enclosing class:
- ExternalContext
- public static class ExternalContext.SerializableInitialContext
- extends RefAddr
- implements Referenceable, Serializable, 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
ExternalContext.SerializableInitialContext
public ExternalContext.SerializableInitialContext()
ExternalContext.SerializableInitialContext
public ExternalContext.SerializableInitialContext(String addrType)
getJndiName
public String getJndiName()
setJndiName
public void setJndiName(String jndiName)
getCacheContext
public boolean getCacheContext()
setCacheContext
public void setCacheContext(boolean cacheContext)
getInitialContext
public String getInitialContext()
loadClass
public void loadClass(String className)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
setProperties
public void setProperties(Properties props)
getProperties
public Properties getProperties()
loadProperties
public void loadProperties(String contextPropsURL)
throws IOException
- Throws:
IOException
getObjectInstance
public Object getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable environment)
throws Exception
- Specified by:
getObjectInstance
in interface ObjectFactory
- Throws:
Exception
getReference
public Reference getReference()
throws NamingException
- Specified by:
getReference
in interface Referenceable
- Throws:
NamingException
getContent
public Object getContent()
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.