FileDocCategorySizeDatePackage
ResourceBase.javaAPI DocApache Tomcat 6.0.143226Fri Jul 20 04:20:34 BST 2007org.apache.catalina.deploy

ResourceBase

public class ResourceBase extends Object implements Serializable
Representation of an Context element
author
Peter Rossbach (pero@apache.org)
version
$Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $

Fields Summary
private String
description
The description of this Context Element.
private String
name
The name of this context Element.
private String
type
The name of the EJB bean implementation class.
private HashMap
properties
Holder for our configured properties.
protected NamingResources
resources
The NamingResources with which we are associated (if any).
Constructors Summary
Methods Summary
public java.lang.StringgetDescription()


       
        return (this.description);
    
public java.lang.StringgetName()


       
        return (this.name);
    
public NamingResourcesgetNamingResources()


       
        return (this.resources);
    
public java.lang.ObjectgetProperty(java.lang.String name)
Return a configured property.


             
        
        return properties.get(name);
    
public java.lang.StringgetType()


       
        return (this.type);
    
public java.util.IteratorlistProperties()
List properties.

        return properties.keySet().iterator();
    
public voidremoveProperty(java.lang.String name)
remove a configured property.

        properties.remove(name);
    
public voidsetDescription(java.lang.String description)

        this.description = description;
    
public voidsetName(java.lang.String name)

        this.name = name;
    
voidsetNamingResources(NamingResources resources)

        this.resources = resources;
    
public voidsetProperty(java.lang.String name, java.lang.Object value)
Set a configured property.

        properties.put(name, value);
    
public voidsetType(java.lang.String type)

        this.type = type;