Package org.apache.catalina.deploy
Class ResourceBase
- java.lang.Object
-
- org.apache.catalina.deploy.ResourceBase
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ContextEjb,ContextEnvironment,ContextLocalEjb,ContextResource,ContextResourceLink
public class ResourceBase extends Object implements Serializable
Representation of an Context element- Version:
- $Revision$ $Date$
- Author:
- Peter Rossbach (pero@apache.org)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected NamingResourcesresourcesThe NamingResources with which we are associated (if any).
-
Constructor Summary
Constructors Constructor Description ResourceBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()StringgetName()NamingResourcesgetNamingResources()ObjectgetProperty(String name)Return a configured property.StringgetType()Iterator<String>listProperties()List properties.voidremoveProperty(String name)remove a configured property.voidsetDescription(String description)voidsetName(String name)voidsetProperty(String name, Object value)Set a configured property.voidsetType(String type)
-
-
-
Field Detail
-
resources
protected NamingResources resources
The NamingResources with which we are associated (if any).
-
-
Method Detail
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getType
public String getType()
-
setType
public void setType(String type)
-
removeProperty
public void removeProperty(String name)
remove a configured property.
-
getNamingResources
public NamingResources getNamingResources()
-
-