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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getAuth()
boolean
getScope()
boolean
int
hashCode()
void
void
setCloseMethod
(String closeMethod) void
void
setSingleton
(boolean singleton) toString()
Return a String representation of this object.Methods inherited from class org.apache.tomcat.util.descriptor.web.ResourceBase
addInjectionTarget, getDescription, getInjectionTargets, getLookupName, getName, getNamingResources, getProperty, getType, listProperties, removeProperty, setDescription, setLookupName, setName, setNamingResources, setProperty, setType
-
Constructor Details
-
ContextResource
public ContextResource()
-
-
Method Details
-
getAuth
-
setAuth
-
getScope
-
setScope
-
getSingleton
public boolean getSingleton() -
setSingleton
public void setSingleton(boolean singleton) -
getCloseMethod
-
setCloseMethod
-
getCloseMethodConfigured
public boolean getCloseMethodConfigured() -
toString
Return a String representation of this object. -
hashCode
public int hashCode()- Overrides:
hashCode
in classResourceBase
-
equals
- Overrides:
equals
in classResourceBase
-