FileDocCategorySizeDatePackage
ContextTransaction.javaAPI DocApache Tomcat 6.0.142859Fri Jul 20 04:20:32 BST 2007org.apache.catalina.deploy

ContextTransaction

public class ContextTransaction extends Object implements Serializable
Representation of an application resource reference, as represented in an <res-env-refy> element in the deployment descriptor.
author
Craig R. McClanahan
version
$Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $

Fields Summary
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 NamingResourcesgetNamingResources()


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


             
        
        return properties.get(name);
    
public java.util.IteratorlistProperties()
List properties.

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

        properties.remove(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 java.lang.StringtoString()
Return a String representation of this object.


        StringBuffer sb = new StringBuffer("Transaction[");
        sb.append("]");
        return (sb.toString());