Class ContextResource
- java.lang.Object
- 
- org.apache.tomcat.util.descriptor.web.ResourceBase
- 
- org.apache.tomcat.util.descriptor.web.ContextResource
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- Injectable
 
 public class ContextResource extends ResourceBase 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:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description ContextResource()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetAuth()java.lang.StringgetCloseMethod()booleangetCloseMethodConfigured()java.lang.StringgetScope()booleangetSingleton()inthashCode()voidsetAuth(java.lang.String auth)voidsetCloseMethod(java.lang.String closeMethod)voidsetScope(java.lang.String scope)voidsetSingleton(boolean singleton)java.lang.StringtoString()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
 
- 
 
- 
- 
- 
Method Detail- 
getAuthpublic java.lang.String getAuth() 
 - 
setAuthpublic void setAuth(java.lang.String auth) 
 - 
getScopepublic java.lang.String getScope() 
 - 
setScopepublic void setScope(java.lang.String scope) 
 - 
getSingletonpublic boolean getSingleton() 
 - 
setSingletonpublic void setSingleton(boolean singleton) 
 - 
getCloseMethodpublic java.lang.String getCloseMethod() 
 - 
setCloseMethodpublic void setCloseMethod(java.lang.String closeMethod) 
 - 
getCloseMethodConfiguredpublic boolean getCloseMethodConfigured() 
 - 
toStringpublic java.lang.String toString() Return a String representation of this object.- Overrides:
- toStringin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- ResourceBase
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- ResourceBase
 
 
- 
 
-