Class ContextResource
java.lang.Object
org.apache.tomcat.util.descriptor.web.ResourceBase
org.apache.tomcat.util.descriptor.web.ContextResource
- All Implemented Interfaces:
- Serializable,- Injectable
Representation of a resource reference for a web application, as
 represented in a 
<resource-ref> element in the
 deployment descriptor.- Author:
- Craig R. McClanahan, Peter Rossbach (pero@apache.org)
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleangetAuth()booleangetScope()booleaninthashCode()voidvoidsetCloseMethod(String closeMethod) voidvoidsetSingleton(boolean singleton) toString()Return a String representation of this object.Methods inherited from class org.apache.tomcat.util.descriptor.web.ResourceBaseaddInjectionTarget, getDescription, getInjectionTargets, getLookupName, getName, getNamingResources, getProperty, getType, listProperties, removeProperty, setDescription, setLookupName, setName, setNamingResources, setProperty, setType
- 
Constructor Details- 
ContextResourcepublic ContextResource()
 
- 
- 
Method Details- 
getAuth
- 
setAuth
- 
getScope
- 
setScope
- 
getSingletonpublic boolean getSingleton()
- 
setSingletonpublic void setSingleton(boolean singleton) 
- 
getCloseMethod
- 
setCloseMethod
- 
getCloseMethodConfiguredpublic boolean getCloseMethodConfigured()
- 
toStringReturn a String representation of this object.
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- ResourceBase
 
- 
equals- Overrides:
- equalsin class- ResourceBase
 
 
-