Package org.apache.catalina.deploy
Class ContextResource
- java.lang.Object
-
- org.apache.catalina.deploy.ResourceBase
-
- org.apache.catalina.deploy.ContextResource
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ContextResourceDecorator
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.- Version:
- $Revision: 1.2 $ $Date: 2005/12/08 01:27:40 $
- Author:
- Craig R. McClanahan
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.catalina.deploy.ResourceBase
resources
-
-
Constructor Summary
Constructors Constructor Description ContextResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAuth()StringgetDescription()StringgetName()StringgetScope()StringgetType()voidsetAuth(String auth)voidsetDescription(String description)voidsetName(String name)voidsetScope(String scope)voidsetType(String type)StringtoString()Return a String representation of this object.-
Methods inherited from class org.apache.catalina.deploy.ResourceBase
getNamingResources, getProperty, listProperties, removeProperty, setProperty
-
-
-
-
Method Detail
-
getAuth
public String getAuth()
-
setAuth
public void setAuth(String auth)
-
getDescription
public String getDescription()
- Overrides:
getDescriptionin classResourceBase
-
setDescription
public void setDescription(String description)
- Overrides:
setDescriptionin classResourceBase
-
getName
public String getName()
- Overrides:
getNamein classResourceBase
-
setName
public void setName(String name)
- Overrides:
setNamein classResourceBase
-
getScope
public String getScope()
-
setScope
public void setScope(String scope)
-
getType
public String getType()
- Overrides:
getTypein classResourceBase
-
setType
public void setType(String type)
- Overrides:
setTypein classResourceBase
-
-