org.eclipse.jst.j2ee.jca
Interface ConnectionDefinition

All Superinterfaces:
J2EEEObject

public interface ConnectionDefinition
extends J2EEEObject

A representation of the model object 'Connection Definition'.

Version:
J2EE1.4 The connection-definitionType defines a set of connection interfaces and classes pertaining to a particular connection type. This also includes configurable properties for ManagedConnectionFactory instances that may be produced out of this set.

The following features are supported:

See Also:
JcaPackage.getConnectionDefinition()

Method Summary
 EList getConfigProperties()
          Returns the value of the 'Config Properties' containment reference list.
 java.lang.String getConnectionFactoryImplClass()
          Returns the value of the 'Connection Factory Impl Class' attribute
 java.lang.String getConnectionFactoryInterface()
          Returns the value of the 'Connection Factory Interface' attribute
 java.lang.String getConnectionImplClass()
          Returns the value of the 'Connection Impl Class' attribute
 java.lang.String getConnectionInterface()
          Returns the value of the 'Connection Interface' attribute
 java.lang.String getManagedConnectionFactoryClass()
          Returns the value of the 'Managed Connection Factory Class' attribute
 void setConnectionFactoryImplClass(java.lang.String value)
          Sets the value of the 'Connection Factory Impl Class' attribute
 void setConnectionFactoryInterface(java.lang.String value)
          Sets the value of the 'Connection Factory Interface' attribute
 void setConnectionImplClass(java.lang.String value)
          Sets the value of the 'Connection Impl Class' attribute
 void setConnectionInterface(java.lang.String value)
          Sets the value of the 'Connection Interface' attribute
 void setManagedConnectionFactoryClass(java.lang.String value)
          Sets the value of the 'Managed Connection Factory Class' attribute
 

Method Detail

getManagedConnectionFactoryClass

public java.lang.String getManagedConnectionFactoryClass()
Returns the value of the 'Managed Connection Factory Class' attribute.

If the meaning of the 'Managed Connection Factory Class' attribute isn't clear, there really should be more of a description here...

The element managedconnectionfactory-class specifies the fully qualified name of the Java class that implements the javax.resource.spi.ManagedConnectionFactory interface. This Java class is provided as part of resource adapter's implementation of connector architecture specified contracts. The implementation of this class is required to be a JavaBean. Example: com.wombat.ManagedConnectionFactoryImpl

Returns:
the value of the 'Managed Connection Factory Class' attribute.
See Also:
setManagedConnectionFactoryClass(String), JcaPackage.getConnectionDefinition_ManagedConnectionFactoryClass()

setManagedConnectionFactoryClass

public void setManagedConnectionFactoryClass(java.lang.String value)
Sets the value of the 'Managed Connection Factory Class' attribute.

Parameters:
value - the new value of the 'Managed Connection Factory Class' attribute.
See Also:
getManagedConnectionFactoryClass()

getConnectionFactoryInterface

public java.lang.String getConnectionFactoryInterface()
Returns the value of the 'Connection Factory Interface' attribute.

If the meaning of the 'Connection Factory Interface' attribute isn't clear, there really should be more of a description here...

The element connectionfactory-interface specifies the fully qualified name of the ConnectionFactory interface supported by the resource adapter. Example: com.wombat.ConnectionFactory OR javax.resource.cci.ConnectionFactory

Returns:
the value of the 'Connection Factory Interface' attribute.
See Also:
setConnectionFactoryInterface(String), JcaPackage.getConnectionDefinition_ConnectionFactoryInterface()

setConnectionFactoryInterface

public void setConnectionFactoryInterface(java.lang.String value)
Sets the value of the 'Connection Factory Interface' attribute.

Parameters:
value - the new value of the 'Connection Factory Interface' attribute.
See Also:
getConnectionFactoryInterface()

getConnectionFactoryImplClass

public java.lang.String getConnectionFactoryImplClass()
Returns the value of the 'Connection Factory Impl Class' attribute.

If the meaning of the 'Connection Factory Impl Class' attribute isn't clear, there really should be more of a description here...

The element connectionfactory-impl-class specifies the fully qualified name of the ConnectionFactory class that implements resource adapter specific ConnectionFactory interface. Example: com.wombat.ConnectionFactoryImpl

Returns:
the value of the 'Connection Factory Impl Class' attribute.
See Also:
setConnectionFactoryImplClass(String), JcaPackage.getConnectionDefinition_ConnectionFactoryImplClass()

setConnectionFactoryImplClass

public void setConnectionFactoryImplClass(java.lang.String value)
Sets the value of the 'Connection Factory Impl Class' attribute.

Parameters:
value - the new value of the 'Connection Factory Impl Class' attribute.
See Also:
getConnectionFactoryImplClass()

getConnectionInterface

public java.lang.String getConnectionInterface()
Returns the value of the 'Connection Interface' attribute.

If the meaning of the 'Connection Interface' attribute isn't clear, there really should be more of a description here...

The connection-interface element specifies the fully qualified name of the Connection interface supported by the resource adapter. Example: javax.resource.cci.Connection

Returns:
the value of the 'Connection Interface' attribute.
See Also:
setConnectionInterface(String), JcaPackage.getConnectionDefinition_ConnectionInterface()

setConnectionInterface

public void setConnectionInterface(java.lang.String value)
Sets the value of the 'Connection Interface' attribute.

Parameters:
value - the new value of the 'Connection Interface' attribute.
See Also:
getConnectionInterface()

getConnectionImplClass

public java.lang.String getConnectionImplClass()
Returns the value of the 'Connection Impl Class' attribute.

If the meaning of the 'Connection Impl Class' attribute isn't clear, there really should be more of a description here...

The connection-impl-classType specifies the fully qualified name of the Connection class that implements resource adapter specific Connection interface. It is used by the connection-impl-class elements. Example: com.wombat.ConnectionImpl

Returns:
the value of the 'Connection Impl Class' attribute.
See Also:
setConnectionImplClass(String), JcaPackage.getConnectionDefinition_ConnectionImplClass()

setConnectionImplClass

public void setConnectionImplClass(java.lang.String value)
Sets the value of the 'Connection Impl Class' attribute.

Parameters:
value - the new value of the 'Connection Impl Class' attribute.
See Also:
getConnectionImplClass()

getConfigProperties

public EList getConfigProperties()
Returns the value of the 'Config Properties' containment reference list. The list contents are of type ConfigProperty.

If the meaning of the 'Config Properties' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Config Properties' containment reference list.
See Also:
JcaPackage.getConnectionDefinition_ConfigProperties()