|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.kernel.application.deploy.enterprise.AbstractDeploymentDescriptor
org.openmdx.kernel.application.deploy.enterprise.ResourceAdapterDeploymentDescriptor
public class ResourceAdapterDeploymentDescriptor
| Field Summary |
|---|
| Fields inherited from class org.openmdx.kernel.application.deploy.enterprise.AbstractDeploymentDescriptor |
|---|
REPORT_APPLICATION_NAME, REPORT_APPLICATION_VERSION, REPORT_CONNECTOR_NAME, REPORT_CONNECTOR_VERSION, REPORT_EJB_CLIENT_NAME, REPORT_EJB_COMPONENT_NAME, REPORT_EJB_MODULE_NAME, REPORT_EJB_VERSION |
| Constructor Summary | |
|---|---|
ResourceAdapterDeploymentDescriptor()
|
|
| Method Summary | |
|---|---|
void |
deploy(Context containerContext,
Context applicationContext,
Reference reference)
This method deploys the resource adapter |
List |
getAuthenticationMechanism()
Get the supported authentication mechanisms. |
Map |
getConfigProperties()
The connector architecture defines a set of well-defined properties all of type java.lang.String. |
String |
getConnectionFactoryImplClass()
The element connectionfactory-impl-class specifies the fully qualified name of the ConnectionFactory class that implements resource adapter specific ConnectionFactory interface. |
String |
getConnectionFactoryInterface()
The element connectionfactory-interface specifies the fully qualified name of the ConnectionFactory interface supported by the resource adapter |
String |
getConnectionFactoryJndiName()
|
String |
getConnectionImplClass()
The connection-impl-classType specifies the fully qualified name of the Connection class that implements resource adapter specific Connection interface. |
String |
getConnectionInterface()
The connection-interface element specifies the fully qualified name of the Connection interface supported by the resource adapter. |
String |
getCredentialInterface()
|
Integer |
getInitialCapacity()
The initial-capacity element identifies the initial number of instance which the openMDX Container will attempt to obtain during deployment. |
String |
getManagedConnectionFactoryClass()
The element managedconnectionfactory-class specifies the fully qualified name of the Java class that implements the javax.resource.spi.ManagedConnectionFactory interface. |
Integer |
getMaximumCapacity()
The maximum-capacity element identifies the maximum number of managed connections which the openMDX Container will allow. |
Long |
getMaximumWait()
The maximum-wait element defines the time in milliseconds to wait for an instance to be returned to the pool when there are maximum-capacity active instances. |
boolean |
getReauthenticationSupport()
The element reauthentication-support specifies whether the resource adapter implementation supports re-authentication of existing Managed-Connection instance. |
String |
getTransactionSupport()
The transaction-supportType specifies the level of transaction support provided by the resource adapter. |
void |
parseOpenMdxXml(Element element,
Report report)
|
void |
parseXml(Element element,
Report report)
|
void |
verify(Report report)
|
| Methods inherited from class org.openmdx.kernel.application.deploy.enterprise.AbstractDeploymentDescriptor |
|---|
createUniqueLocalApplicationContextLink, createUniqueRemoteApplicationContextLink, getChildrenByTagName, getElementContent, getOptionalChild, getUniqueChild |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceAdapterDeploymentDescriptor()
| Method Detail |
|---|
public void parseXml(Element element,
Report report)
parseXml in class AbstractDeploymentDescriptor
public void parseOpenMdxXml(Element element,
Report report)
parseOpenMdxXml in class AbstractDeploymentDescriptorpublic Map getConfigProperties()
Deployment.ResourceAdapterA resource adapter provider can extend this property set to include properties specific to the resource adapter and its underlying EIS. Possible values include
getConfigProperties in interface Deployment.ResourceAdapterpublic void verify(Report report)
verify in class AbstractDeploymentDescriptorpublic String getManagedConnectionFactoryClass()
Deployment.ResourceAdapterExample:
getManagedConnectionFactoryClass in interface Deployment.ResourceAdapterpublic String getConnectionFactoryInterface()
Deployment.ResourceAdapterExample:
getConnectionFactoryInterface in interface Deployment.ResourceAdapterpublic String getConnectionFactoryImplClass()
Deployment.ResourceAdapterExample:
getConnectionFactoryImplClass in interface Deployment.ResourceAdapterpublic String getConnectionInterface()
Deployment.ResourceAdapterExample:
getConnectionInterface in interface Deployment.ResourceAdapterpublic String getConnectionImplClass()
Deployment.ResourceAdapterExample:
getConnectionImplClass in interface Deployment.ResourceAdapterpublic String getTransactionSupport()
Deployment.ResourceAdapterThe value must be one of the following:
getTransactionSupport in interface Deployment.ResourceAdapterpublic String getCredentialInterface()
public boolean getReauthenticationSupport()
Deployment.ResourceAdapterNote that this information is for the resource adapter implementation and not for the underlying EIS instance.
getReauthenticationSupport in interface Deployment.ResourceAdapterpublic List getAuthenticationMechanism()
Deployment.ResourceAdapterNote that this support is for the resource adapter and not for the underlying EIS instance. The optional description specifies any resource adapter specific requirement for the support of security contract and authentication mechanism.
getAuthenticationMechanism in interface Deployment.ResourceAdapterpublic String getConnectionFactoryJndiName()
public Integer getInitialCapacity()
Deployment.PoolThe default initial capacity is 1.
getInitialCapacity in interface Deployment.Poolpublic Integer getMaximumCapacity()
Deployment.PoolThe default maximum capacity is java.lang.Integer.MAX_VALUE, i.e.231-1.
getMaximumCapacity in interface Deployment.Poolpublic Long getMaximumWait()
Deployment.PoolA value of 0 will mean not to wait at all. When a request times out waiting for an instance an Exception is generated and the call aborted.
The default timeout value is java.lang.Long.MAX_VALUE, i.e. 263-1.
getMaximumWait in interface Deployment.PoolDeployment.Pool.getMaximumCapacity()
public void deploy(Context containerContext,
Context applicationContext,
Reference reference)
throws NamingException
Deployment.ResourceAdapter
deploy in interface Deployment.ResourceAdaptercontainerContext - components are registered in the containerContext
in order to be referenced by other components.
It's URL for LinkRef's is "openmdx:container".applicationContext - components may be registered in the applicationContext
for application internal link resolutions.
It's URL for LinkRef's is "openmdx:application".reference - Reference to the connection factory
NamingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||