Save This Page
Home » JBoss-5.1.0 » org » jboss » naming » [javadoc | source]
org.jboss.naming
public interface: ExternalContextMBean [javadoc | source]

All Implemented Interfaces:
    org$jboss$system$ServiceMBean

All Known Implementing Classes:
    ExternalContext

MBean interface.
Method from org.jboss.naming.ExternalContextMBean Summary:
getCacheContext,   getInitialContext,   getJndiName,   getProperties,   getRemoteAccess,   setCacheContext,   setInitialContext,   setJndiName,   setProperties,   setPropertiesURL,   setRemoteAccess
Method from org.jboss.naming.ExternalContextMBean Detail:
 public boolean getCacheContext()
 public String getInitialContext()
    Get the class name of the InitialContext implementation to use. Should be one of:
    • javax.naming.InitialContext
    • javax.naming.directory.InitialDirContext
    • javax.naming.ldap.InitialLdapContext
 public String getJndiName()
    Set the jndi name under which the external context is bound.
 public Properties getProperties() throws IOException
    Get the InitialContex class environment properties.
 public boolean getRemoteAccess()
 public  void setCacheContext(boolean cacheContext)
 public  void setInitialContext(String className) throws ClassNotFoundException
    Set the class name of the InitialContext implementation to use. Should be one of:
    • javax.naming.InitialContext
    • javax.naming.directory.InitialDirContext
    • javax.naming.ldap.InitialLdapContext
 public  void setJndiName(String jndiName) throws NamingException
    Set the jndi name under which the external context is bound.
 public  void setProperties(Properties props) throws IOException
    Set the InitialContex class environment properties.
 public  void setPropertiesURL(String contextPropsURL) throws IOException
    Set the InitialContex class environment properties from the given URL.
 public  void setRemoteAccess(boolean remoteAccess)