public class ResourceAdapter10Impl extends AbstractResourceAdapetrImpl implements ResourceAdapter10
ResourceAdapter10.Attribute, ResourceAdapter10.Tag
configProperties
Constructor and Description |
---|
ResourceAdapter10Impl(XsdString managedConnectionFactoryClass,
XsdString connectionFactoryInterface,
XsdString connectionFactoryImplClass,
XsdString connectionInterface,
XsdString connectionImplClass,
TransactionSupportEnum transactionSupport,
java.util.List<AuthenticationMechanism> authenticationMechanism,
java.util.List<ConfigProperty> configProperties,
boolean reauthenticationSupport,
java.util.List<SecurityPermission> securityPermissions,
java.lang.String id)
Create a new ResourceAdapter10.
|
ResourceAdapter10Impl(XsdString managedConnectionFactoryClass,
XsdString connectionFactoryInterface,
XsdString connectionFactoryImplClass,
XsdString connectionInterface,
XsdString connectionImplClass,
TransactionSupportEnum transactionSupport,
java.util.List<AuthenticationMechanism> authenticationMechanism,
java.util.List<ConfigProperty> configProperties,
boolean reauthenticationSupport,
java.util.List<SecurityPermission> securityPermissions,
java.lang.String id,
java.lang.String transactionSupportId,
java.lang.String reauthenticationSupportId)
Create a new ResourceAdapter10.
|
Modifier and Type | Method and Description |
---|---|
CopyableMetaData |
copy()
Creates and returns a copy of this object.
|
boolean |
equals(java.lang.Object obj) |
void |
forceNewTrasactionSupport(TransactionSupportEnum newTransactionSupport)
force transactionSupport to the new value
This method is thread safe
|
java.util.List<AuthenticationMechanism> |
getAuthenticationMechanisms()
Get the authenticationMechanism.
|
XsdString |
getConnectionFactoryImplClass()
Get the connectionFactoryImplClass.
|
XsdString |
getConnectionFactoryInterface()
Get the connectionFactoryInterface.
|
XsdString |
getConnectionImplClass()
Get the connectionImplClass.
|
XsdString |
getConnectionInterface()
Get the connectionInterface.
|
java.lang.String |
getId()
Get the id.
|
XsdString |
getManagedConnectionFactoryClass()
Get the managedConnectionFactoryClass.
|
boolean |
getReauthenticationSupport()
Get the reauthenticationSupport.
|
java.lang.String |
getReauthenticationSupportId()
Get the reauthenticationSupportId.
|
java.util.List<SecurityPermission> |
getSecurityPermissions()
Get the securityPermission.
|
TransactionSupportEnum |
getTransactionSupport()
Get the transactionSupport.
|
java.lang.String |
getTransactionSupportId()
Get the transactionSupportId.
|
int |
hashCode() |
ResourceAdapter10 |
merge(MergeableMetadata<?> jmd)
Merge specification metadata with vendor metadata
|
java.lang.String |
toString() |
void |
validate()
Validate this metadata according validation required by specification
|
forceNewConfigPropertiesContent, getConfigProperties
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getConfigProperties
public ResourceAdapter10Impl(XsdString managedConnectionFactoryClass, XsdString connectionFactoryInterface, XsdString connectionFactoryImplClass, XsdString connectionInterface, XsdString connectionImplClass, TransactionSupportEnum transactionSupport, java.util.List<AuthenticationMechanism> authenticationMechanism, java.util.List<ConfigProperty> configProperties, boolean reauthenticationSupport, java.util.List<SecurityPermission> securityPermissions, java.lang.String id, java.lang.String transactionSupportId, java.lang.String reauthenticationSupportId)
managedConnectionFactoryClass
- class nameconnectionFactoryInterface
- interface nameconnectionFactoryImplClass
- class nameconnectionInterface
- interface nameconnectionImplClass
- class nametransactionSupport
- how transactions are supportedauthenticationMechanism
- how authentication is performedconfigProperties
- list of configsreauthenticationSupport
- true if reautentication is supportedsecurityPermissions
- what security permissions are supportedid
- the id attribute in xml filetransactionSupportId
- transaction support element IDreauthenticationSupportId
- reauthentication support element IDpublic ResourceAdapter10Impl(XsdString managedConnectionFactoryClass, XsdString connectionFactoryInterface, XsdString connectionFactoryImplClass, XsdString connectionInterface, XsdString connectionImplClass, TransactionSupportEnum transactionSupport, java.util.List<AuthenticationMechanism> authenticationMechanism, java.util.List<ConfigProperty> configProperties, boolean reauthenticationSupport, java.util.List<SecurityPermission> securityPermissions, java.lang.String id)
managedConnectionFactoryClass
- class nameconnectionFactoryInterface
- interface nameconnectionFactoryImplClass
- class nameconnectionInterface
- interface nameconnectionImplClass
- class nametransactionSupport
- how transactions are supportedauthenticationMechanism
- how authentication is performedconfigProperties
- list of configsreauthenticationSupport
- true if reautentication is supportedsecurityPermissions
- what security permissions are supportedid
- the id attribute in xml filepublic XsdString getManagedConnectionFactoryClass()
getManagedConnectionFactoryClass
in interface ResourceAdapter10
public XsdString getConnectionFactoryInterface()
getConnectionFactoryInterface
in interface ResourceAdapter10
public XsdString getConnectionFactoryImplClass()
getConnectionFactoryImplClass
in interface ResourceAdapter10
public XsdString getConnectionInterface()
getConnectionInterface
in interface ResourceAdapter10
public XsdString getConnectionImplClass()
getConnectionImplClass
in interface ResourceAdapter10
public TransactionSupportEnum getTransactionSupport()
getTransactionSupport
in interface ResourceAdapter10
public void forceNewTrasactionSupport(TransactionSupportEnum newTransactionSupport)
newTransactionSupport
- the new valuepublic java.util.List<AuthenticationMechanism> getAuthenticationMechanisms()
getAuthenticationMechanisms
in interface ResourceAdapter10
public boolean getReauthenticationSupport()
getReauthenticationSupport
in interface ResourceAdapter10
public java.util.List<SecurityPermission> getSecurityPermissions()
getSecurityPermissions
in interface ResourceAdapter10
public java.lang.String getId()
getId
in interface IdDecoratedMetadata
getId
in interface ResourceAdapter10
getId
in class AbstractResourceAdapetrImpl
public java.lang.String getTransactionSupportId()
public java.lang.String getReauthenticationSupportId()
public int hashCode()
hashCode
in interface ResourceAdapter10
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in interface ResourceAdapter10
equals
in class java.lang.Object
public java.lang.String toString()
toString
in interface ResourceAdapter10
toString
in class java.lang.Object
public void validate() throws ValidateException
ValidatableMetadata
validate
in interface ResourceAdapter10
validate
in interface ValidatableMetadata
validate
in class AbstractResourceAdapetrImpl
ValidateException
- in case of validation failpublic CopyableMetaData copy()
CopyableMetaData
copy
in interface CopyableMetaData
copy
in class AbstractResourceAdapetrImpl
public ResourceAdapter10 merge(MergeableMetadata<?> jmd) throws java.lang.Exception
MergeableMetadata
merge
in interface MergeableMetadata<ResourceAdapter10>
jmd
- The vendor metadatajava.lang.Exception
- Thrown if an error occursCopyright © 2013 IronJacamar (http://www.ironjacamar.org)