Class ContextResourceEnvRef
- java.lang.Object
-
- org.apache.tomcat.util.descriptor.web.ResourceBase
-
- org.apache.tomcat.util.descriptor.web.ContextResourceEnvRef
-
- All Implemented Interfaces:
java.io.Serializable,Injectable
public class ContextResourceEnvRef extends ResourceBase
Representation of an application resource reference, as represented in an<res-env-ref>element in the deployment descriptor.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContextResourceEnvRef()Default constructor for ContextResourceEnvRef.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)booleangetOverride()Returns whether this environment entry allows overrides by the application deployment descriptor.inthashCode()voidsetOverride(boolean override)Sets whether this environment entry allows overrides by the application deployment descriptor.java.lang.StringtoString()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
-
-
-
-
Method Detail
-
getOverride
public boolean getOverride()
Returns whether this environment entry allows overrides by the application deployment descriptor.- Returns:
- true if overrides are allowed
-
setOverride
public void setOverride(boolean override)
Sets whether this environment entry allows overrides by the application deployment descriptor.- Parameters:
override- true if overrides are allowed
-
toString
public java.lang.String toString()
Return a String representation of this object.- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classResourceBase
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classResourceBase
-
-