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,
java.lang.Boolean reauthenticationSupport,
java.lang.String id) |
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() |
TransactionSupportEnum |
getTransactionSupport() |
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, java.lang.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 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 ? 2008 Red Hat Middleware LLC (http://www.jboss.com/)