Java Doc for StandardDefaultContext.java in  » Sevlet-Container » tomcat-catalina » org » apache » catalina » core » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Sevlet Container » tomcat catalina » org.apache.catalina.core 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.catalina.core.StandardDefaultContext

StandardDefaultContext
public class StandardDefaultContext implements DefaultContext,LifecycleListener,MBeanRegistration(Code)
Used to store the default configuration a Host will use when creating a Context. A Context configured in server.xml can override these defaults by setting the Context attribute override="true".
author:
   Glenn Nielsen
version:
   $Revision: 1.15 $ $Date: 2004/05/26 15:36:35 $


Field Summary
protected  booleanallowLinking
     Allow linking.
protected  intcacheMaxSize
     Cache max size in KB.
protected  intcacheTTL
     Cache TTL in ms.
protected  booleancachingAllowed
     CachingAllowed.
protected  booleancaseSensitive
     Case sensitivity.
 DirContextdirContext
     The resources DirContext object with which this Container is associated.
protected  Stringdomain
    
protected  Vectorlifecycle
    
protected  Loaderloader
     The Loader implementation with which this Container is associated.
protected  Managermanager
     The Manager implementation with which this Container is associated.
protected  intmanagerChecksFrequency
     Frequency of manager checks.
protected  MBeanServermserver
    
protected  Stringname
     The human-readable name of this Container.
protected  ObjectNameoname
    
protected  Containerparent
     The parent Container to which this Container is a child.
protected static  StringManagersm
     The string manager for this package.
protected  Stringsuffix
    
protected  PropertyChangeSupportsupport
     The property change support for this component.
protected  Stringtype
    

Constructor Summary
public  StandardDefaultContext()
    

Method Summary
public  voidaddApplicationListener(String listener)
     Add a new Listener class name to the set of Listeners configured for this application.
public  voidaddApplicationParameter(ApplicationParameter parameter)
     Add a new application parameter for this application.
public  voidaddEjb(ContextEjb ejb)
     Add an EJB resource reference for this web application.
public  voidaddEnvironment(ContextEnvironment environment)
     Add an environment entry for this web application.
public  StringaddEnvironment(String envName, String type)
     Add an environment entry for this web application.
public  voidaddInstanceListener(String listener)
     Add the classname of an InstanceListener to be added to each Wrapper appended to this Context.
public  voidaddLifecycleListener(LifecycleListener listener)
     Add a lifecycle event listener to this component.
public  voidaddParameter(String name, String value)
     Add a new context initialization parameter, replacing any existing value for the specified name.
public  voidaddPropertyChangeListener(PropertyChangeListener listener)
     Add a property change listener to this component.
public  voidaddResource(ContextResource resource)
     Add a resource reference for this web application.
public  StringaddResource(String resourceName, String type)
     Add a resource reference for this web application.
public  voidaddResourceEnvRef(String name, String type)
     Add a resource environment reference for this web application.
public  voidaddResourceLink(ContextResourceLink resourceLink)
     Add a resource link for this web application.
public  StringaddResourceLink(String resourceLinkName, String global, String name, String type)
     Add a resource link for this web application.
public  voidaddResourceParams(ResourceParams resourceParameters)
     Add resource parameters for this web application.
public  voidaddWrapperLifecycle(String listener)
     Add the classname of a LifecycleListener to be added to each Wrapper appended to this Context.
public  voidaddWrapperListener(String listener)
     Add the classname of a ContainerListener to be added to each Wrapper appended to this Context.
public  String[]findApplicationListeners()
     Return the set of application listener class names configured for this application.
public  ApplicationParameter[]findApplicationParameters()
     Return the set of application parameters for this application.
public  ContextEjbfindEjb(String name)
     Return the EJB resource reference with the specified name, if any; otherwise, return null.
public  ContextEjb[]findEjbs()
     Return the defined EJB resource references for this application.
public  ContextEnvironmentfindEnvironment(String name)
     Return the environment entry with the specified name, if any; otherwise, return null.
public  ContextEnvironment[]findEnvironments()
     Return the set of defined environment entries for this web application.
public  String[]findInstanceListeners()
     Return the set of InstanceListener classes that will be added to newly created Wrappers automatically.
public  StringfindParameter(String name)
     Return the value for the specified context initialization parameter name, if any; otherwise return null.
public  String[]findParameters()
     Return the names of all defined context initialization parameters for this Context.
public  ContextResourcefindResource(String name)
     Return the resource reference with the specified name, if any; otherwise return null.
public  StringfindResourceEnvRef(String name)
     Return the resource environment reference type for the specified name, if any; otherwise return null.
public  String[]findResourceEnvRefs()
     Return the set of resource environment reference names for this web application.
public  ContextResourceLinkfindResourceLink(String name)
     Return the resource link with the specified name, if any; otherwise return null.
public  ContextResourceLink[]findResourceLinks()
     Return the defined resource links for this application.
public  ResourceParams[]findResourceParams()
     Return the set of defined resource parameters for this web application.
public  ContextResource[]findResources()
     Return the defined resource references for this application.
public  String[]findWrapperLifecycles()
     Return the set of LifecycleListener classes that will be added to newly created Wrappers automatically.
public  String[]findWrapperListeners()
     Return the set of ContainerListener classes that will be added to newly created Wrappers automatically.
public  intgetCacheMaxSize()
     Return the maximum size of the cache in KB.
public  intgetCacheTTL()
     Get cache TTL.
public  booleangetCookies()
     Return the "use cookies for session ids" flag.
public  booleangetCrossContext()
     Return the "allow crossing servlet contexts" flag.
public  StringgetDomain()
    
public  String[]getEnvironments()
    
public  StringgetInfo()
     Return descriptive information about this Container implementation and the corresponding version number, in the format <description>/<version>.
protected  StringgetJSR77Suffix()
    
public  LoadergetLoader()
     Return the Loader with which this Container is associated.
public  ManagergetManager()
     Return the Manager with which this Container is associated.
public  intgetManagerChecksFrequency()
     Get manager checks frquency.
public  StringgetName()
    
public  NamingResourcesgetNamingResources()
     Return the naming resources associated with this web application.
public  ObjectNamegetObjectName()
    
public  ContainergetParent()
     Return the Container for which this Container is a child, if there is one.
public  booleangetReloadable()
     Return the reloadable flag for this web application.
public  String[]getResourceLinks()
    
public  String[]getResourceNames()
     Return the MBean Names of all the defined resource references for this application.
public  DirContextgetResources()
     Get the resources DirContext object with which this Container is associated.
public  booleangetSwallowOutput()
     Return the swallowOutput flag for this web application.
public  StringgetType()
    
public  StringgetWrapperClass()
     Return the Java class name of the Wrapper implementation used for servlets registered in this Context.
public  voidimportDefaultContext(Context context)
     Import the configuration from the DefaultContext into current Context.
public  voidinstallDefaultContext(Context context)
     Install the StandardContext portion of the DefaultContext configuration into current Context.
public  booleanisAllowLinking()
     Is linking allowed.
public  booleanisCachingAllowed()
    
public  booleanisCaseSensitive()
    
public  booleanisUseNaming()
     Returns true if the internal naming support is used.
public  voidlifecycleEvent(LifecycleEvent event)
     Process the START event for an associated Context.
public  voidpostDeregister()
    
public  voidpostRegister(Boolean registrationDone)
    
public  voidpreDeregister()
    
public  ObjectNamepreRegister(MBeanServer server, ObjectName name)
    
public  voidremoveApplicationListener(String listener)
     Remove the specified application listener class from the set of listeners for this application.
public  voidremoveApplicationParameter(String name)
     Remove the application parameter with the specified name from the set for this application.
public  voidremoveEjb(String name)
     Remove any EJB resource reference with the specified name.
public  voidremoveEnvironment(String envName)
     Remove any environment entry with the specified name.
public  voidremoveInstanceListener(String listener)
     Remove a class name from the set of InstanceListener classes that will be added to newly created Wrappers.
public  voidremoveParameter(String name)
     Remove the context initialization parameter with the specified name, if it exists; otherwise, no action is taken.
public  voidremovePropertyChangeListener(PropertyChangeListener listener)
     Remove a property change listener from this component.
public  voidremoveResource(String resourceName)
     Remove any resource reference with the specified name.
public  voidremoveResourceEnvRef(String name)
     Remove any resource environment reference with the specified name.
public  voidremoveResourceLink(String resourceLinkName)
     Remove any resource link with the specified name.
public  voidremoveWrapperLifecycle(String listener)
     Remove a class name from the set of LifecycleListener classes that will be added to newly created Wrappers.
public  voidremoveWrapperListener(String listener)
     Remove a class name from the set of ContainerListener classes that will be added to newly created Wrappers.
public  voidsetAllowLinking(boolean allowLinking)
     Set allow linking.
public  voidsetCacheMaxSize(int cacheMaxSize)
     Set the maximum size of the cache in KB.
public  voidsetCacheTTL(int cacheTTL)
     Set cache TTL.
public  voidsetCachingAllowed(boolean cachingAllowed)
     Set cachingAllowed.
public  voidsetCaseSensitive(boolean caseSensitive)
     Set case sensitivity.
public  voidsetCookies(boolean cookies)
     Set the "use cookies for session ids" flag.
public  voidsetCrossContext(boolean crossContext)
     Set the "allow crossing servlet contexts" flag.
public  voidsetLoader(Loader loader)
     Set the Loader with which this Context is associated.
public  voidsetManager(Manager manager)
     Set the Manager with which this Container is associated.
public  voidsetManagerChecksFrequency(int managerChecksFrequency)
     Set the manager checks frequency.
public  voidsetName(String name)
    
public  voidsetParent(Container container)
     Set the parent Container to which this Container is being added as a child.
public  voidsetReloadable(boolean reloadable)
     Set the reloadable flag for this web application.
public  voidsetResources(DirContext resources)
     Set the resources DirContext object with which this Container is associated.
public  voidsetSwallowOutput(boolean swallowOutput)
     Set the swallowOutput flag for this web application.
public  voidsetUseNaming(boolean useNaming)
     Enables or disables naming.
public  voidsetWrapperClass(String wrapperClass)
     Set the Java class name of the Wrapper implementation used for servlets registered in this Context.
public  StringtoString()
     Return a String representation of this component.

Field Detail
allowLinking
protected boolean allowLinking(Code)
Allow linking.



cacheMaxSize
protected int cacheMaxSize(Code)
Cache max size in KB.



cacheTTL
protected int cacheTTL(Code)
Cache TTL in ms.



cachingAllowed
protected boolean cachingAllowed(Code)
CachingAllowed.



caseSensitive
protected boolean caseSensitive(Code)
Case sensitivity.



dirContext
DirContext dirContext(Code)
The resources DirContext object with which this Container is associated.



domain
protected String domain(Code)



lifecycle
protected Vector lifecycle(Code)
The Context LifecycleListener's



loader
protected Loader loader(Code)
The Loader implementation with which this Container is associated.



manager
protected Manager manager(Code)
The Manager implementation with which this Container is associated.



managerChecksFrequency
protected int managerChecksFrequency(Code)
Frequency of manager checks.



mserver
protected MBeanServer mserver(Code)



name
protected String name(Code)
The human-readable name of this Container.



oname
protected ObjectName oname(Code)



parent
protected Container parent(Code)
The parent Container to which this Container is a child.



sm
protected static StringManager sm(Code)
The string manager for this package.



suffix
protected String suffix(Code)



support
protected PropertyChangeSupport support(Code)
The property change support for this component.



type
protected String type(Code)




Constructor Detail
StandardDefaultContext
public StandardDefaultContext()(Code)
Create the DefaultContext




Method Detail
addApplicationListener
public void addApplicationListener(String listener)(Code)
Add a new Listener class name to the set of Listeners configured for this application.
Parameters:
  listener - Java class name of a listener class



addApplicationParameter
public void addApplicationParameter(ApplicationParameter parameter)(Code)
Add a new application parameter for this application.
Parameters:
  parameter - The new application parameter



addEjb
public void addEjb(ContextEjb ejb)(Code)
Add an EJB resource reference for this web application.
Parameters:
  ejb - New EJB resource reference



addEnvironment
public void addEnvironment(ContextEnvironment environment)(Code)
Add an environment entry for this web application.
Parameters:
  environment - New environment entry



addEnvironment
public String addEnvironment(String envName, String type) throws MalformedObjectNameException(Code)
Add an environment entry for this web application.
Parameters:
  envName - New environment entry name



addInstanceListener
public void addInstanceListener(String listener)(Code)
Add the classname of an InstanceListener to be added to each Wrapper appended to this Context.
Parameters:
  listener - Java class name of an InstanceListener class



addLifecycleListener
public void addLifecycleListener(LifecycleListener listener)(Code)
Add a lifecycle event listener to this component.
Parameters:
  listener - The listener to add



addParameter
public void addParameter(String name, String value)(Code)
Add a new context initialization parameter, replacing any existing value for the specified name.
Parameters:
  name - Name of the new parameter
Parameters:
  value - Value of the new parameter
exception:
  IllegalArgumentException - if the name or value is missing,or if this context initialization parameter has already beenregistered



addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)(Code)
Add a property change listener to this component.
Parameters:
  listener - The listener to add



addResource
public void addResource(ContextResource resource)(Code)
Add a resource reference for this web application.
Parameters:
  resource - New resource reference



addResource
public String addResource(String resourceName, String type) throws MalformedObjectNameException(Code)
Add a resource reference for this web application.
Parameters:
  resourceName - New resource reference name



addResourceEnvRef
public void addResourceEnvRef(String name, String type)(Code)
Add a resource environment reference for this web application.
Parameters:
  name - The resource environment reference name
Parameters:
  type - The resource environment reference type



addResourceLink
public void addResourceLink(ContextResourceLink resourceLink)(Code)
Add a resource link for this web application.
Parameters:
  resourceLink - New resource link



addResourceLink
public String addResourceLink(String resourceLinkName, String global, String name, String type) throws MalformedObjectNameException(Code)
Add a resource link for this web application.
Parameters:
  resourceLinkName - New resource link name



addResourceParams
public void addResourceParams(ResourceParams resourceParameters)(Code)
Add resource parameters for this web application.
Parameters:
  resourceParameters - New resource parameters



addWrapperLifecycle
public void addWrapperLifecycle(String listener)(Code)
Add the classname of a LifecycleListener to be added to each Wrapper appended to this Context.
Parameters:
  listener - Java class name of a LifecycleListener class



addWrapperListener
public void addWrapperListener(String listener)(Code)
Add the classname of a ContainerListener to be added to each Wrapper appended to this Context.
Parameters:
  listener - Java class name of a ContainerListener class



findApplicationListeners
public String[] findApplicationListeners()(Code)
Return the set of application listener class names configured for this application.



findApplicationParameters
public ApplicationParameter[] findApplicationParameters()(Code)
Return the set of application parameters for this application.



findEjb
public ContextEjb findEjb(String name)(Code)
Return the EJB resource reference with the specified name, if any; otherwise, return null.
Parameters:
  name - Name of the desired EJB resource reference



findEjbs
public ContextEjb[] findEjbs()(Code)
Return the defined EJB resource references for this application. If there are none, a zero-length array is returned.



findEnvironment
public ContextEnvironment findEnvironment(String name)(Code)
Return the environment entry with the specified name, if any; otherwise, return null.
Parameters:
  name - Name of the desired environment entry



findEnvironments
public ContextEnvironment[] findEnvironments()(Code)
Return the set of defined environment entries for this web application. If none have been defined, a zero-length array is returned.



findInstanceListeners
public String[] findInstanceListeners()(Code)
Return the set of InstanceListener classes that will be added to newly created Wrappers automatically.



findParameter
public String findParameter(String name)(Code)
Return the value for the specified context initialization parameter name, if any; otherwise return null.
Parameters:
  name - Name of the parameter to return



findParameters
public String[] findParameters()(Code)
Return the names of all defined context initialization parameters for this Context. If no parameters are defined, a zero-length array is returned.



findResource
public ContextResource findResource(String name)(Code)
Return the resource reference with the specified name, if any; otherwise return null.
Parameters:
  name - Name of the desired resource reference



findResourceEnvRef
public String findResourceEnvRef(String name)(Code)
Return the resource environment reference type for the specified name, if any; otherwise return null.
Parameters:
  name - Name of the desired resource environment reference



findResourceEnvRefs
public String[] findResourceEnvRefs()(Code)
Return the set of resource environment reference names for this web application. If none have been specified, a zero-length array is returned.



findResourceLink
public ContextResourceLink findResourceLink(String name)(Code)
Return the resource link with the specified name, if any; otherwise return null.
Parameters:
  name - Name of the desired resource link



findResourceLinks
public ContextResourceLink[] findResourceLinks()(Code)
Return the defined resource links for this application. If none have been defined, a zero-length array is returned.



findResourceParams
public ResourceParams[] findResourceParams()(Code)
Return the set of defined resource parameters for this web application. If none have been defined, a zero-length array is returned.



findResources
public ContextResource[] findResources()(Code)
Return the defined resource references for this application. If none have been defined, a zero-length array is returned.



findWrapperLifecycles
public String[] findWrapperLifecycles()(Code)
Return the set of LifecycleListener classes that will be added to newly created Wrappers automatically.



findWrapperListeners
public String[] findWrapperListeners()(Code)
Return the set of ContainerListener classes that will be added to newly created Wrappers automatically.



getCacheMaxSize
public int getCacheMaxSize()(Code)
Return the maximum size of the cache in KB.



getCacheTTL
public int getCacheTTL()(Code)
Get cache TTL.



getCookies
public boolean getCookies()(Code)
Return the "use cookies for session ids" flag.



getCrossContext
public boolean getCrossContext()(Code)
Return the "allow crossing servlet contexts" flag.



getDomain
public String getDomain()(Code)



getEnvironments
public String[] getEnvironments()(Code)
Return the MBean Names of the set of defined environment entries for this web application



getInfo
public String getInfo()(Code)
Return descriptive information about this Container implementation and the corresponding version number, in the format <description>/<version>.



getJSR77Suffix
protected String getJSR77Suffix()(Code)



getLoader
public Loader getLoader()(Code)
Return the Loader with which this Container is associated. If there is no associated Loader return null.



getManager
public Manager getManager()(Code)
Return the Manager with which this Container is associated. If there is no associated Manager return null.



getManagerChecksFrequency
public int getManagerChecksFrequency()(Code)
Get manager checks frquency.



getName
public String getName()(Code)
The name of this DefaultContext



getNamingResources
public NamingResources getNamingResources()(Code)
Return the naming resources associated with this web application.



getObjectName
public ObjectName getObjectName()(Code)



getParent
public Container getParent()(Code)
Return the Container for which this Container is a child, if there is one. If there is no defined parent, return null.



getReloadable
public boolean getReloadable()(Code)
Return the reloadable flag for this web application.



getResourceLinks
public String[] getResourceLinks()(Code)
Return the MBean Names of all the defined resource links for this application



getResourceNames
public String[] getResourceNames()(Code)
Return the MBean Names of all the defined resource references for this application. XXX This changed - due to conflict



getResources
public DirContext getResources()(Code)
Get the resources DirContext object with which this Container is associated. The associated DirContext



getSwallowOutput
public boolean getSwallowOutput()(Code)
Return the swallowOutput flag for this web application.



getType
public String getType()(Code)



getWrapperClass
public String getWrapperClass()(Code)
Return the Java class name of the Wrapper implementation used for servlets registered in this Context.



importDefaultContext
public void importDefaultContext(Context context)(Code)
Import the configuration from the DefaultContext into current Context.
Parameters:
  context - current web application context



installDefaultContext
public void installDefaultContext(Context context)(Code)
Install the StandardContext portion of the DefaultContext configuration into current Context.
Parameters:
  context - current web application context



isAllowLinking
public boolean isAllowLinking()(Code)
Is linking allowed.



isCachingAllowed
public boolean isCachingAllowed()(Code)
Is cachingAllowed ?



isCaseSensitive
public boolean isCaseSensitive()(Code)
Is case sensitive ?



isUseNaming
public boolean isUseNaming()(Code)
Returns true if the internal naming support is used.



lifecycleEvent
public void lifecycleEvent(LifecycleEvent event)(Code)
Process the START event for an associated Context.
Parameters:
  event - The lifecycle event that has occurred



postDeregister
public void postDeregister()(Code)



postRegister
public void postRegister(Boolean registrationDone)(Code)



preDeregister
public void preDeregister() throws Exception(Code)



preRegister
public ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception(Code)



removeApplicationListener
public void removeApplicationListener(String listener)(Code)
Remove the specified application listener class from the set of listeners for this application.
Parameters:
  listener - Java class name of the listener to be removed



removeApplicationParameter
public void removeApplicationParameter(String name)(Code)
Remove the application parameter with the specified name from the set for this application.
Parameters:
  name - Name of the application parameter to remove



removeEjb
public void removeEjb(String name)(Code)
Remove any EJB resource reference with the specified name.
Parameters:
  name - Name of the EJB resource reference to remove



removeEnvironment
public void removeEnvironment(String envName)(Code)
Remove any environment entry with the specified name.
Parameters:
  envName - Name of the environment entry to remove



removeInstanceListener
public void removeInstanceListener(String listener)(Code)
Remove a class name from the set of InstanceListener classes that will be added to newly created Wrappers.
Parameters:
  listener - Class name of an InstanceListener class to be removed



removeParameter
public void removeParameter(String name)(Code)
Remove the context initialization parameter with the specified name, if it exists; otherwise, no action is taken.
Parameters:
  name - Name of the parameter to remove



removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)(Code)
Remove a property change listener from this component.
Parameters:
  listener - The listener to remove



removeResource
public void removeResource(String resourceName)(Code)
Remove any resource reference with the specified name.
Parameters:
  resourceName - Name of the resource reference to remove



removeResourceEnvRef
public void removeResourceEnvRef(String name)(Code)
Remove any resource environment reference with the specified name.
Parameters:
  name - Name of the resource environment reference to remove



removeResourceLink
public void removeResourceLink(String resourceLinkName)(Code)
Remove any resource link with the specified name.
Parameters:
  resourceLinkName - Name of the resource reference to remove



removeWrapperLifecycle
public void removeWrapperLifecycle(String listener)(Code)
Remove a class name from the set of LifecycleListener classes that will be added to newly created Wrappers.
Parameters:
  listener - Class name of a LifecycleListener class to be removed



removeWrapperListener
public void removeWrapperListener(String listener)(Code)
Remove a class name from the set of ContainerListener classes that will be added to newly created Wrappers.
Parameters:
  listener - Class name of a ContainerListener class to be removed



setAllowLinking
public void setAllowLinking(boolean allowLinking)(Code)
Set allow linking.



setCacheMaxSize
public void setCacheMaxSize(int cacheMaxSize)(Code)
Set the maximum size of the cache in KB.



setCacheTTL
public void setCacheTTL(int cacheTTL)(Code)
Set cache TTL.



setCachingAllowed
public void setCachingAllowed(boolean cachingAllowed)(Code)
Set cachingAllowed.



setCaseSensitive
public void setCaseSensitive(boolean caseSensitive)(Code)
Set case sensitivity.



setCookies
public void setCookies(boolean cookies)(Code)
Set the "use cookies for session ids" flag.
Parameters:
  cookies - The new flag



setCrossContext
public void setCrossContext(boolean crossContext)(Code)
Set the "allow crossing servlet contexts" flag.
Parameters:
  crossContext - The new cross contexts flag



setLoader
public void setLoader(Loader loader)(Code)
Set the Loader with which this Context is associated.
Parameters:
  loader - The newly associated loader



setManager
public void setManager(Manager manager)(Code)
Set the Manager with which this Container is associated.
Parameters:
  manager - The newly associated Manager



setManagerChecksFrequency
public void setManagerChecksFrequency(int managerChecksFrequency)(Code)
Set the manager checks frequency.



setName
public void setName(String name)(Code)



setParent
public void setParent(Container container)(Code)
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.
Parameters:
  container - Container to which this Container is being addedas a child
exception:
  IllegalArgumentException - if this Container refuses to becomeattached to the specified Container



setReloadable
public void setReloadable(boolean reloadable)(Code)
Set the reloadable flag for this web application.
Parameters:
  reloadable - The new reloadable flag



setResources
public void setResources(DirContext resources)(Code)
Set the resources DirContext object with which this Container is associated.
Parameters:
  resources - The newly associated DirContext



setSwallowOutput
public void setSwallowOutput(boolean swallowOutput)(Code)
Set the swallowOutput flag for this web application.
Parameters:
  swallowOutput - The new swallowOutput flag



setUseNaming
public void setUseNaming(boolean useNaming)(Code)
Enables or disables naming.



setWrapperClass
public void setWrapperClass(String wrapperClass)(Code)
Set the Java class name of the Wrapper implementation used for servlets registered in this Context.
Parameters:
  wrapperClass - The new wrapper class



toString
public String toString()(Code)
Return a String representation of this component.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.