public class OutboundResourceAdapterImpl extends java.lang.Object implements OutboundResourceAdapter
OutboundResourceAdapter.Attribute, OutboundResourceAdapter.Tag
Constructor and Description |
---|
OutboundResourceAdapterImpl(java.util.List<ConnectionDefinition> connectionDefinition,
TransactionSupportEnum transactionSupport,
java.util.List<AuthenticationMechanism> authenticationMechanism,
boolean reauthenticationSupport,
java.lang.String id) |
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) |
Modifier and Type | Method and Description |
---|---|
CopyableMetaData |
copy()
Creates and returns a copy of this object.
|
boolean |
equals(java.lang.Object obj) |
void |
forceConnectionDefinitionsContent(java.util.List<ConnectionDefinition> newContent)
force connectionDefinition with new content.
|
void |
forceNewTrasactionSupport(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()
Get the reauthenticationSupportId.
|
TransactionSupportEnum |
getTransactionSupport() |
java.lang.String |
getTransactionSupportId()
Get the transactionSupportId.
|
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 OutboundResourceAdapterImpl(java.util.List<ConnectionDefinition> connectionDefinition, TransactionSupportEnum transactionSupport, java.util.List<AuthenticationMechanism> authenticationMechanism, boolean reauthenticationSupport, java.lang.String id)
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 valueid
- XML IDpublic java.util.List<ConnectionDefinition> getConnectionDefinitions()
getConnectionDefinitions
in interface OutboundResourceAdapter
public void forceConnectionDefinitionsContent(java.util.List<ConnectionDefinition> newContent)
newContent
- the list of new propertiespublic TransactionSupportEnum getTransactionSupport()
getTransactionSupport
in interface OutboundResourceAdapter
public void forceNewTrasactionSupport(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()
OutboundResourceAdapter
getId
in interface IdDecoratedMetadata
getId
in interface OutboundResourceAdapter
IdDecoratedMetadata.getId()
public java.lang.String getTransactionSupportId()
public java.lang.String getReauthenticationSupportId()
public int hashCode()
hashCode
in interface OutboundResourceAdapter
hashCode
in class java.lang.Object
Object.hashCode()
public boolean equals(java.lang.Object obj)
equals
in interface OutboundResourceAdapter
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public java.lang.String toString()
toString
in interface OutboundResourceAdapter
toString
in class java.lang.Object
Object.toString()
public boolean validationAsBoolean()
validationAsBoolean
in interface OutboundResourceAdapter
public OutboundResourceAdapter merge(MergeableMetadata<?> jmd) throws java.lang.Exception
MergeableMetadata
merge
in interface MergeableMetadata<OutboundResourceAdapter>
jmd
- The vendor metadatajava.lang.Exception
- Thrown if an error occurspublic CopyableMetaData copy()
CopyableMetaData
copy
in interface CopyableMetaData
Copyright © 2013 IronJacamar (http://www.ironjacamar.org)