FileDocCategorySizeDatePackage
RARDeploymentMBean.javaAPI DocJBoss 4.2.110206Fri Jul 13 21:01:18 BST 2007org.jboss.resource.connectionmanager

RARDeploymentMBean

public interface RARDeploymentMBean implements javax.resource.spi.ManagedConnectionFactory, org.jboss.system.ServiceMBean
MBean interface.
author
Adrian Brock
version
$Revision: 57189 $

Fields Summary
public static final ObjectName
OBJECT_NAME
Constructors Summary
Methods Summary
public java.lang.StringgetAuthenticationMechanismType()
The AuthenticationMechanismType attribute holds the AuthenticationMechanismType from the ra.xml. It should be supplied by xslt from ra.xml

return
the AuthenticationMechanismType value.

public java.lang.StringgetConnectionDefinition()
The connection definition inside the rar, it identifies the unique connection factory

return
the rar name value.

public java.lang.StringgetConnectionFactoryImplClass()
The ConnectionFactoryImplClass attribute holds the ConnectionFactoryImplClass from the ra.xml. It should be supplied by xslt from ra.xml

return
the ConnectionFactoryImplClass value.

public java.lang.StringgetConnectionFactoryInterface()
The ConnectionFactoryInterface attribute holds the ConnectionFactoryInterface from the ra.xml. It should be supplied by xslt from ra.xml

return
the ConnectionFactoryInterface value.

public java.lang.StringgetConnectionImplClass()
The ConnectionImplClass attribute holds the ConnectionImplClass from the ra.xml. It should be supplied by xslt from ra.xml

return
the connectionImplClass value.

public java.lang.StringgetConnectionInterface()
The ConnectionInterface attribute holds the ConnectionInterface from the ra.xml. It should be supplied by xslt from ra.xml

return
the ConnectionInterface value.

public java.lang.StringgetCredentialInterface()
The CredentialInterface attribute holds the CredentialInterface from the ra.xml. It should be supplied by xslt from ra.xml

return
the CredentialInterface value.

public java.lang.StringgetEisType()
The EisType attribute holds the EisType from the ra.xml. It should be supplied by xslt from ra.xml

return
the EisType value.

public java.lang.ObjectgetManagedConnectionFactoryAttribute(java.lang.String name)
The getManagedConnectionFactoryAttribute method can be used to examine the managed connection factory properties.

param
name a String value
return
an Object value

public java.lang.StringgetManagedConnectionFactoryClass()
The ManagedConnectionFactoryClass attribute holds the ManagedConnectionFactoryClass from the ra.xml. It should be supplied by xslt from ra.xml

return
the ManagedConnectionFactoryClass value.

public org.w3c.dom.ElementgetManagedConnectionFactoryProperties()
The ManagedConnectionFactoryProperties attribute holds the ManagedConnectionFactoryProperties from the ra.xml, together with user supplied values for all or some of these properties. This must be supplied as an element in the same format as in ra.xml, wrapped in a properties tag. It should be supplied by xslt from ra.xml merged with an user configuration xml file. An alternative format has a config-property element with attributes for name and type and the value as content.

return
the ManagedConnectionFactoryProperties value.

public javax.resource.spi.ManagedConnectionFactorygetMcfInstance()
The getMcfInstance method returns the ManagedConnectionFactory instance represented by this mbean. It is needed so PasswordCredentials can match up correctly. This will probably have to be implemented as an interceptor when the mcf is directly deployed as an mbean.

return
a ManagedConnectionFactory value

public javax.management.ObjectNamegetOldRarDeployment()
The OldRarDeployment attribute refers to a previous-generation RARDeployment. THIS IS A HACK UNTIL XSLT DEPLOYMENT IS WRITTEN

return
value of OldRarDeployment

public java.lang.StringgetRARName()
The RARName attribute holds the file name of the rar

return
the rar name value.

public java.lang.StringgetSpecVersion()
The SpecVersion attribute holds the SpecVersion from the ra.xml It should be supplied by xslt from ra.xml

return
the SpecVersion value.

public java.lang.StringgetTransactionSupport()
The TransactionSupport attribute holds the TransactionSupport from the ra.xml. It should be supplied by xslt from ra.xml It is ignored, and choice of ConnectionManager implementations determine transaction support. Get the TransactionSupport value.

return
the TransactionSupport value.

public java.lang.StringgetVendorName()
The VendorName attribute holds the VendorName from the ra.xml It should be supplied by xslt from ra.xml

return
the VendorName value.

public java.lang.StringgetVersion()
The Version attribute holds the Version from the ra.xml. It should be supplied by xslt from ra.xml

return
the Version value.

public booleanisReauthenticationSupport()
The ReauthenticationSupport attribute holds the ReauthenticationSupport from the ra.xml. It should be supplied by xslt from ra.xml

return
the ReauthenticationSupport value.

public voidsetAuthenticationMechanismType(java.lang.String authenticationMechanismType)
Set the AuthenticationMechanismType value.

param
authenticationMechanismType The AuthenticationMechanismType value.

public voidsetConnectionDefinition(java.lang.String connectionDefinition)
Set the connection definition.

param
connectionDefinition - the connection definition

public voidsetConnectionFactoryImplClass(java.lang.String connectionFactoryImplClass)
Set the ConnectionFactoryImplClass value.

param
connectionFactoryImplClass The ConnectionFactoryImplClass value.

public voidsetConnectionFactoryInterface(java.lang.String connectionFactoryInterface)
Set the ConnectionFactoryInterface value.

param
connectionFactoryInterface The ConnectionFactoryInterface value.

public voidsetConnectionImplClass(java.lang.String connectionImplClass)
Set the ConnectionImplClass value.

param
connectionImplClass The ConnectionImplClass value.

public voidsetConnectionInterface(java.lang.String connectionInterface)
Set the ConnectionInterface value.

param
connectionInterface The ConnectionInterface value.

public voidsetCredentialInterface(java.lang.String credentialInterface)
Set the CredentialInterface value.

param
credentialInterface The CredentialInterface value.

public voidsetEisType(java.lang.String eisType)
Set the EisType value.

param
eisType The new EisType value.

public voidsetManagedConnectionFactoryAttribute(java.lang.String name, java.lang.Class clazz, java.lang.Object value)
The setManagedConnectionFactoryAttribute method can be used to set attributes on the ManagedConnectionFactory from code, without using the xml configuration.

param
name a String value
param
clazz a Class value
param
value an Object value

public voidsetManagedConnectionFactoryClass(java.lang.String managedConnectionFactoryClass)
Set the ManagedConnectionFactoryClass value.

param
managedConnectionFactoryClass The new ManagedConnectionFactoryClass value.

public voidsetManagedConnectionFactoryProperties(org.w3c.dom.Element managedConnectionFactoryProperties)
Set the ManagedConnectionFactoryProperties value.

param
managedConnectionFactoryProperties The ManagedConnectionFactoryProperties value.

public voidsetOldRarDeployment(javax.management.ObjectName oldRarDeployment)
Set the value of OldRarDeployment

param
oldRarDeployment - Value to assign to OldRarDeployment

public voidsetRARName(java.lang.String rarName)
Set the RARName value.

param
rarName The new DisplayName value.

public voidsetReauthenticationSupport(boolean reauthenticationSupport)
Set the ReauthenticationSupport value.

param
reauthenticationSupport The ReauthenticationSupport value.

public voidsetSpecVersion(java.lang.String specVersion)
Set the SpecVersion value.

param
specVersion The new SpecVersion value.

public voidsetTransactionSupport(java.lang.String transactionSupport)
Set the TransactionSupport value.

param
transactionSupport The TransactionSupport value.

public voidsetVendorName(java.lang.String vendorName)
Set the VendorName value.

param
vendorName The new VendorName value.

public voidsetVersion(java.lang.String version)
Set the Version value.

param
version The new Version value.