public class OutboundResourceAdapterImpl extends java.lang.Object implements OutboundResourceAdapter
Constructor and Description |
---|
OutboundResourceAdapterImpl(java.util.List<ConnectionDefinition> connectionDefinition,
TransactionSupportEnum transactionSupport,
java.util.List<AuthenticationMechanism> authenticationMechanism,
boolean reauthenticationSupport,
java.lang.String id,
java.lang.String transactionSupportId,
java.lang.String reauthenticationSupportId)
Constructor
|
Modifier and Type | Method and Description |
---|---|
CopyableMetaData |
copy()
Creates and returns a copy of this object.
|
boolean |
equals(java.lang.Object obj) |
void |
forceConnectionDefinitions(java.util.List<ConnectionDefinition> newContent)
Force connectionDefinition with new content.
|
void |
forceTransactionSupport(TransactionSupportEnum newTransactionSupport)
Force transactionSupport to the new value
This method is thread safe
|
java.util.List<AuthenticationMechanism> |
getAuthenticationMechanisms() |
java.util.List<ConnectionDefinition> |
getConnectionDefinitions() |
java.lang.String |
getId()
Return the String representing xml ID
|
boolean |
getReauthenticationSupport() |
java.lang.String |
getReauthenticationSupportId() |
TransactionSupportEnum |
getTransactionSupport() |
java.lang.String |
getTransactionSupportId() |
int |
hashCode() |
OutboundResourceAdapter |
merge(MergeableMetadata<?> jmd)
Merge specification metadata with vendor metadata
|
java.lang.String |
toString() |
boolean |
validationAsBoolean()
A validate method.
|
public OutboundResourceAdapterImpl(java.util.List<ConnectionDefinition> connectionDefinition, TransactionSupportEnum transactionSupport, java.util.List<AuthenticationMechanism> authenticationMechanism, boolean reauthenticationSupport, java.lang.String id, java.lang.String transactionSupportId, java.lang.String reauthenticationSupportId)
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 IDpublic java.util.List<ConnectionDefinition> getConnectionDefinitions()
getConnectionDefinitions
in interface OutboundResourceAdapter
public void forceConnectionDefinitions(java.util.List<ConnectionDefinition> newContent)
newContent
- the list of new propertiespublic TransactionSupportEnum getTransactionSupport()
getTransactionSupport
in interface OutboundResourceAdapter
public void forceTransactionSupport(TransactionSupportEnum newTransactionSupport)
newTransactionSupport
- the new valuepublic java.util.List<AuthenticationMechanism> getAuthenticationMechanisms()
getAuthenticationMechanisms
in interface OutboundResourceAdapter
public boolean getReauthenticationSupport()
getReauthenticationSupport
in interface OutboundResourceAdapter
public java.lang.String getId()
getId
in interface IdDecoratedMetadata
public java.lang.String getTransactionSupportId()
getTransactionSupportId
in interface OutboundResourceAdapter
public java.lang.String getReauthenticationSupportId()
getReauthenticationSupportId
in interface OutboundResourceAdapter
public boolean validationAsBoolean()
validationAsBoolean
in interface OutboundResourceAdapter
public OutboundResourceAdapter merge(MergeableMetadata<?> jmd) throws java.lang.Exception
merge
in interface MergeableMetadata<OutboundResourceAdapter>
jmd
- The vendor metadatajava.lang.Exception
- Thrown if an error occurspublic CopyableMetaData copy()
copy
in interface CopyableMetaData
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)