Methods Summary |
---|
public void | addApplicationListener(java.lang.String listener)Add a new Listener class name to the set of Listeners
configured for this application.
|
public void | addApplicationParameter(org.apache.catalina.deploy.ApplicationParameter parameter)Add a new application parameter for this application.
|
public void | addEjb(org.apache.catalina.deploy.ContextEjb ejb)Add an EJB resource reference for this web application.
|
public void | addEnvironment(org.apache.catalina.deploy.ContextEnvironment environment)Add an environment entry for this web application.
|
public void | addInstanceListener(java.lang.String listener)Add the classname of an InstanceListener to be added to each
Wrapper appended to this Context.
|
public void | addParameter(java.lang.String name, java.lang.String value)Add a new context initialization parameter, replacing any existing
value for the specified name.
|
public void | addPropertyChangeListener(java.beans.PropertyChangeListener listener)Add a property change listener to this component.
|
public void | addResource(org.apache.catalina.deploy.ContextResource resource)Add a resource reference for this web application.
|
public void | addResourceEnvRef(java.lang.String name, java.lang.String type)Add a resource environment reference for this web application.
|
public void | addResourceLink(org.apache.catalina.deploy.ContextResourceLink resourceLink)Add a resource link for this web application.
|
public void | addResourceParams(org.apache.catalina.deploy.ResourceParams resourceParameters)Add resource parameters for this web application.
|
public void | addWrapperLifecycle(java.lang.String listener)Add the classname of a LifecycleListener to be added to each
Wrapper appended to this Context.
|
public void | addWrapperListener(java.lang.String listener)Add the classname of a ContainerListener to be added to each
Wrapper appended to this Context.
|
public java.lang.String[] | findApplicationListeners()Return the set of application listener class names configured
for this application.
|
public org.apache.catalina.deploy.ApplicationParameter[] | findApplicationParameters()Return the set of application parameters for this application.
|
public org.apache.catalina.deploy.ContextEjb | findEjb(java.lang.String name)Return the EJB resource reference with the specified name, if any;
otherwise, return null .
|
public org.apache.catalina.deploy.ContextEjb[] | findEjbs()Return the defined EJB resource references for this application.
If there are none, a zero-length array is returned.
|
public org.apache.catalina.deploy.ContextEnvironment | findEnvironment(java.lang.String name)Return the environment entry with the specified name, if any;
otherwise, return null .
|
public org.apache.catalina.deploy.ContextEnvironment[] | findEnvironments()Return the set of defined environment entries for this web
application. If none have been defined, a zero-length array
is returned.
|
public java.lang.String[] | findInstanceListeners()Return the set of InstanceListener classes that will be added to
newly created Wrappers automatically.
|
public java.lang.String | findParameter(java.lang.String name)Return the value for the specified context initialization
parameter name, if any; otherwise return null .
|
public java.lang.String[] | findParameters()Return the names of all defined context initialization parameters
for this Context. If no parameters are defined, a zero-length
array is returned.
|
public org.apache.catalina.deploy.ContextResource | findResource(java.lang.String name)Return the resource reference with the specified name, if any;
otherwise return null .
|
public java.lang.String | findResourceEnvRef(java.lang.String name)Return the resource environment reference type for the specified
name, if any; otherwise return null .
|
public java.lang.String[] | findResourceEnvRefs()Return the set of resource environment reference names for this
web application. If none have been specified, a zero-length
array is returned.
|
public org.apache.catalina.deploy.ContextResourceLink | findResourceLink(java.lang.String name)Return the resource link with the specified name, if any;
otherwise return null .
|
public org.apache.catalina.deploy.ContextResourceLink[] | findResourceLinks()Return the defined resource links for this application. If
none have been defined, a zero-length array is returned.
|
public org.apache.catalina.deploy.ResourceParams[] | findResourceParams()Return the set of defined resource parameters for this web
application. If none have been defined, a zero-length array
is returned.
|
public org.apache.catalina.deploy.ContextResource[] | findResources()Return the defined resource references for this application. If
none have been defined, a zero-length array is returned.
|
public java.lang.String[] | findWrapperLifecycles()Return the set of LifecycleListener classes that will be added to
newly created Wrappers automatically.
|
public java.lang.String[] | findWrapperListeners()Return the set of ContainerListener classes that will be added to
newly created Wrappers automatically.
|
public boolean | getCookies()Return the "use cookies for session ids" flag.
|
public boolean | getCrossContext()Return the "allow crossing servlet contexts" flag.
|
public java.lang.String | getInfo()Return descriptive information about this Container implementation and
the corresponding version number, in the format
<description>/<version> .
|
public Loader | getLoader()Return the Loader with which this Container is associated. If there is
no associated Loader return null .
|
public Manager | getManager()Return the Manager with which this Container is associated. If there is
no associated Manager return null .
|
public java.lang.String | getName()Return the name of this DefaultContext
|
public org.apache.catalina.deploy.NamingResources | getNamingResources()Return the naming resources associated with this web application.
|
public Container | getParent()Return the Container for which this Container is a child, if there is
one. If there is no defined parent, return null .
|
public boolean | getReloadable()Return the reloadable flag for this web application.
|
public javax.naming.directory.DirContext | getResources()Get the resources DirContext object with which this Container is
associated.
|
public java.lang.String | getWrapperClass()Return the Java class name of the Wrapper implementation used
for servlets registered in this Context.
|
public void | importDefaultContext(Context context)Import the configuration from the DefaultContext into
current Context.
|
public void | removeApplicationListener(java.lang.String listener)Remove the specified application listener class from the set of
listeners for this application.
|
public void | removeApplicationParameter(java.lang.String name)Remove the application parameter with the specified name from
the set for this application.
|
public void | removeEjb(java.lang.String name)Remove any EJB resource reference with the specified name.
|
public void | removeEnvironment(java.lang.String name)Remove any environment entry with the specified name.
|
public void | removeInstanceListener(java.lang.String listener)Remove a class name from the set of InstanceListener classes that
will be added to newly created Wrappers.
|
public void | removeParameter(java.lang.String name)Remove the context initialization parameter with the specified
name, if it exists; otherwise, no action is taken.
|
public void | removePropertyChangeListener(java.beans.PropertyChangeListener listener)Remove a property change listener from this component.
|
public void | removeResource(java.lang.String name)Remove any resource reference with the specified name.
|
public void | removeResourceEnvRef(java.lang.String name)Remove any resource environment reference with the specified name.
|
public void | removeResourceLink(java.lang.String name)Remove any resource link with the specified name.
|
public void | removeWrapperLifecycle(java.lang.String listener)Remove a class name from the set of LifecycleListener classes that
will be added to newly created Wrappers.
|
public void | removeWrapperListener(java.lang.String listener)Remove a class name from the set of ContainerListener classes that
will be added to newly created Wrappers.
|
public void | setCookies(boolean cookies)Set the "use cookies for session ids" flag.
|
public void | setCrossContext(boolean crossContext)Set the "allow crossing servlet contexts" flag.
|
public void | setLoader(Loader loader)Set the Loader with which this Context is associated.
|
public void | setManager(Manager manager)Set the Manager with which this Container is associated.
|
public void | setName(java.lang.String name)Set the name of the default context.
|
public void | setParent(Container container)Set the parent Container to which this Container is being added as a
child. This Container may refuse to become attached to the specified
Container by throwing an exception.
|
public void | setReloadable(boolean reloadable)Set the reloadable flag for this web application.
|
public void | setResources(javax.naming.directory.DirContext resources)Set the resources DirContext object with which this Container is
associated.
|
public void | setWrapperClass(java.lang.String wrapperClass)Set the Java class name of the Wrapper implementation used
for servlets registered in this Context.
|