FileDocCategorySizeDatePackage
ConnectionDefDescriptor.javaAPI DocGlassfish v2 API5923Fri May 04 22:31:20 BST 2007com.sun.enterprise.deployment

ConnectionDefDescriptor

public class ConnectionDefDescriptor extends Descriptor
Deployment Information for connection-definition
author
Sheetal Vartak

Fields Summary
private boolean
isDirty
private String
managedConnectionFactoryImpl
private Set
configProperties
private String
connectionIntf
private String
connectionImpl
private String
connectionfactoryImpl
private String
connectionfactoryIntf
Constructors Summary
public ConnectionDefDescriptor()


       
    
        this.configProperties    = new OrderedSet();
    
public ConnectionDefDescriptor(ConnectionDefDescriptor other)
copy constructor

	super(other);
	managedConnectionFactoryImpl = other.managedConnectionFactoryImpl; // String
	connectionIntf = other.connectionIntf; // String
	connectionImpl = other.connectionImpl; // String
	connectionfactoryImpl = other.connectionfactoryImpl; // String
	connectionfactoryIntf = other.connectionfactoryIntf; // String
        configProperties = new OrderedSet();
	if (other.configProperties != null) {
	    for (Iterator i = other.configProperties.iterator(); i.hasNext();) {
	    	configProperties.add(new EnvironmentProperty((EnvironmentProperty)i.next()));
	    }
	}
    
Methods Summary
public voidaddConfigProperty(EnvironmentProperty configProperty)
Add a configProperty to the set

	this.configProperties.add(configProperty);
	this.setDirty();
	this.changed();
    
public voidchanged()

	super.changed();
    
public java.util.SetgetConfigProperties()
Set of EnvironmentProperty

        return configProperties;
    
public java.lang.StringgetConnectionFactoryImpl()
Get connection factory impl

        return this.connectionfactoryImpl;
    
public java.lang.StringgetConnectionFactoryIntf()
Get connection factory intf

        return this.connectionfactoryIntf;
    
public java.lang.StringgetConnectionImpl()
Get connection impl

        return this.connectionImpl;
    
public java.lang.StringgetConnectionIntf()
Get connection intf

        return this.connectionIntf;
    
public java.lang.StringgetManagedConnectionFactoryImpl()
Gets the value of ManagedconnectionFactoryImpl

        return managedConnectionFactoryImpl;
    
public booleanisDirty()

	return this.isDirty;
    
public voidremoveConfigProperty(EnvironmentProperty configProperty)
Add a configProperty to the set

	this.configProperties.remove(configProperty);
	this.setDirty();
	this.changed();
    
public voidsetConnectionFactoryImpl(java.lang.String cf)
set connection factory impl

	this.connectionfactoryImpl = cf;
    
public voidsetConnectionFactoryIntf(java.lang.String cf)
set connection factory intf

	this.connectionfactoryIntf = cf;
    
public voidsetConnectionImpl(java.lang.String con)
set connection intf

	this.connectionImpl = con;
    
public voidsetConnectionIntf(java.lang.String con)
set connection intf

	this.connectionIntf = con;
    
private voidsetDirty()

        this.isDirty = true;
    
public voidsetManagedConnectionFactoryImpl(java.lang.String managedConnectionFactoryImpl)
Sets the value of ManagedconnectionFactoryImpl

        this.managedConnectionFactoryImpl = managedConnectionFactoryImpl;
	this.setDirty();
        this.changed();