org.eclipse.jst.j2ee.jca
Interface ConnectionDefinition

All Superinterfaces:
org.eclipse.emf.ecore.EObject, J2EEEObject, org.eclipse.emf.common.notify.Notifier

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
 org.eclipse.emf.common.util.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
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getManagedConnectionFactoryClass

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

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

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

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

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

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

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

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

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

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

org.eclipse.emf.common.util.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()