站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended byjavax.naming.RefAddr
      extended byorg.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

Field Summary
 
Fields inherited from class javax.naming.RefAddr
addrType
 
Constructor Summary
ExternalContext.SerializableInitialContext()
           
ExternalContext.SerializableInitialContext(String addrType)
           
 
Method Summary
 boolean getCacheContext()
           
 Object getContent()
           
 String getInitialContext()
           
 String getJndiName()
           
 Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment)
           
 Properties getProperties()
           
 Reference getReference()
           
 void loadClass(String className)
           
 void loadProperties(String contextPropsURL)
           
 void setCacheContext(boolean cacheContext)
           
 void setJndiName(String jndiName)
           
 void setProperties(Properties props)
           
 
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
 

Constructor Detail

ExternalContext.SerializableInitialContext

public ExternalContext.SerializableInitialContext()

ExternalContext.SerializableInitialContext

public ExternalContext.SerializableInitialContext(String addrType)
Method Detail

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.