FileDocCategorySizeDatePackage
ResourceParams.javaAPI DocGlassfish v2 API3868Fri May 04 22:32:08 BST 2007org.apache.catalina.deploy

ResourceParams

public class ResourceParams extends Object implements Serializable
Representation of additional parameters which will be used to initialize external resources defined in the web application deployment descriptor.
author
Remy Maucherat
version
$Revision: 1.3 $ $Date: 2007/05/05 05:32:08 $

Fields Summary
private String
name
The name of this resource parameters. Must be the name of the resource in the java: namespace.
private Hashtable
resourceParams
protected NamingResources
resources
The NamingResources with which we are associated (if any).
Constructors Summary
Methods Summary
public voidaddParameter(java.lang.String name, java.lang.String value)


          
        resourceParams.put(name, value);
    
public java.lang.StringgetName()


       
        return (this.name);
    
public NamingResourcesgetNamingResources()


       
        return (this.resources);
    
public java.util.HashtablegetParameters()

        return resourceParams;
    
public voidsetName(java.lang.String name)

        this.name = name;
    
voidsetNamingResources(NamingResources resources)

        this.resources = resources;
    
public java.lang.StringtoString()
Return a String representation of this object.


        StringBuffer sb = new StringBuffer("ResourceParams[");
        sb.append("name=");
        sb.append(name);
        sb.append(", parameters=");
        sb.append(resourceParams.toString());
        sb.append("]");
        return (sb.toString());