Class OutboundResourceAdapterImpl
java.lang.Object
org.jboss.jca.common.metadata.spec.OutboundResourceAdapterImpl
- All Implemented Interfaces:
Serializable,Cloneable,CopyableMetaData,JCAMetadata,IdDecoratedMetadata,MergeableMetadata<OutboundResourceAdapter>,OutboundResourceAdapter
An OutboundResourceAdapter implementation
- Author:
- Stefano Maestri, Jesper Pedersen
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOutboundResourceAdapterImpl(List<ConnectionDefinition> connectionDefinition, TransactionSupportEnum transactionSupport, List<AuthenticationMechanism> authenticationMechanism, boolean reauthenticationSupport, String id, String transactionSupportId, String reauthenticationSupportId) Constructor -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleanvoidforceConnectionDefinitions(List<ConnectionDefinition> newContent) Force connectionDefinition with new content.voidforceTransactionSupport(TransactionSupportEnum newTransactionSupport) Force transactionSupport to the new value This method is thread safegetId()booleaninthashCode()merge(MergeableMetadata<?> jmd) toString()booleanA validate method.
-
Constructor Details
-
OutboundResourceAdapterImpl
public OutboundResourceAdapterImpl(List<ConnectionDefinition> connectionDefinition, TransactionSupportEnum transactionSupport, List<AuthenticationMechanism> authenticationMechanism, boolean reauthenticationSupport, String id, String transactionSupportId, String reauthenticationSupportId) Constructor- Parameters:
connectionDefinition- list of connection definitionstransactionSupport- transaction supported form this RA. Valid ones are defined by an enumauthenticationMechanism- list of authentication mechanism supportedreauthenticationSupport- not mandatary boolean valuetransactionSupportId- transaction support element IDreauthenticationSupportId- reauthentication support element IDid- XML ID
-
-
Method Details
-
getConnectionDefinitions
- Specified by:
getConnectionDefinitionsin interfaceOutboundResourceAdapter
-
forceConnectionDefinitions
Force connectionDefinition with new content. This method is thread safe- Parameters:
newContent- the list of new properties
-
getTransactionSupport
- Specified by:
getTransactionSupportin interfaceOutboundResourceAdapter
-
forceTransactionSupport
Force transactionSupport to the new value This method is thread safe- Parameters:
newTransactionSupport- the new value
-
getAuthenticationMechanisms
- Specified by:
getAuthenticationMechanismsin interfaceOutboundResourceAdapter
-
getReauthenticationSupport
public boolean getReauthenticationSupport()- Specified by:
getReauthenticationSupportin interfaceOutboundResourceAdapter
-
getId
- Specified by:
getIdin interfaceIdDecoratedMetadata
-
getTransactionSupportId
- Specified by:
getTransactionSupportIdin interfaceOutboundResourceAdapter
-
getReauthenticationSupportId
- Specified by:
getReauthenticationSupportIdin interfaceOutboundResourceAdapter
-
validationAsBoolean
public boolean validationAsBoolean()A validate method. Don't extending for the moment ValidatableMetadata- Specified by:
validationAsBooleanin interfaceOutboundResourceAdapter- Returns:
- true if Ra is valid, flase in the other cases
-
merge
- Specified by:
mergein interfaceMergeableMetadata<OutboundResourceAdapter>- Throws:
Exception
-
copy
- Specified by:
copyin interfaceCopyableMetaData
-
hashCode
public int hashCode() -
equals
-
toString
-