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 ([email protected])
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected NamingResources
resources
The 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 String
getDescription()
String
getName()
NamingResources
getNamingResources()
Object
getProperty(String name)
Return a configured property.String
getType()
Iterator<String>
listProperties()
List properties.void
removeProperty(String name)
remove a configured property.void
setDescription(String description)
void
setName(String name)
void
setProperty(String name, Object value)
Set a configured property.void
setType(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()
-
-