|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ExternalContext mbean interface.
Fields inherited from interface org.jboss.util.ServiceMBean |
STARTED, STARTING, states, STOPPED, STOPPING |
Method Summary | |
boolean |
getCacheContext()
Get the cacheContext flag. |
java.lang.String |
getInitialContext()
Get the class name of the InitialContext implementation to use. |
java.lang.String |
getJndiName()
Get the jndi name under which the external context is bound. |
boolean |
getRemoteAccess()
Get the remote access flag. |
void |
setCacheContext(boolean flag)
set the cacheContext flag. |
void |
setInitialContext(java.lang.String contextClass)
Set the class name of the InitialContext implementation to use. |
void |
setJndiName(java.lang.String jndiName)
Set the jndi name under which the external context is bound. |
void |
setProperties(java.lang.String contextPropsURL)
Set the jndi.properties information for the external InitialContext. |
void |
setRemoteAccess(boolean remoteAccess)
Set the remote access flag. |
Methods inherited from interface org.jboss.util.ServiceMBean |
getName, getState, getStateString |
Methods inherited from interface org.jboss.util.Service |
destroy, init, start, stop |
Method Detail |
public java.lang.String getJndiName()
public void setJndiName(java.lang.String jndiName) throws javax.naming.NamingException
public boolean getRemoteAccess()
public void setRemoteAccess(boolean remoteAccess)
public boolean getCacheContext()
public void setCacheContext(boolean flag)
public java.lang.String getInitialContext()
public void setInitialContext(java.lang.String contextClass) throws java.lang.ClassNotFoundException
contextClass,
- the classname of the InitialContext to usepublic void setProperties(java.lang.String contextPropsURL) throws java.io.IOException
contextPropsURL,
- either a URL string to a jndi.properties type of
content or a name of a resource to locate via the current thread
context classpath.IOException,
- thrown if the url/resource cannot be loaded.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |