Interface OutboundResourceadapterType<T>
-
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
OutboundResourceadapterTypeImpl
public interface OutboundResourceadapterType<T> extends org.jboss.shrinkwrap.descriptor.api.Child<T>This interface defines the contract for theoutbound-resourceadapterTypexsd type
-
-
Method Summary
-
-
-
Method Detail
-
getOrCreateConnectionDefinition
ConnectionDefinitionType<OutboundResourceadapterType<T>> getOrCreateConnectionDefinition()
If not already created, a newconnection-definitionelement will be created and returned. Otherwise, the first existingconnection-definitionelement will be returned.- Returns:
- the instance defined for the element
connection-definition
-
createConnectionDefinition
ConnectionDefinitionType<OutboundResourceadapterType<T>> createConnectionDefinition()
Creates a newconnection-definitionelement- Returns:
- the new created instance of
ConnectionDefinitionType>
-
getAllConnectionDefinition
List<ConnectionDefinitionType<OutboundResourceadapterType<T>>> getAllConnectionDefinition()
Returns allconnection-definitionelements- Returns:
- list of
connection-definition
-
removeAllConnectionDefinition
OutboundResourceadapterType<T> removeAllConnectionDefinition()
Removes allconnection-definitionelements- Returns:
- the current instance of
ConnectionDefinitionType>
-
transactionSupport
OutboundResourceadapterType<T> transactionSupport(TransactionSupportType transactionSupport)
Sets thetransaction-supportelement- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
OutboundResourceadapterType
-
transactionSupport
OutboundResourceadapterType<T> transactionSupport(String transactionSupport)
Sets thetransaction-supportelement- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
OutboundResourceadapterType
-
getTransactionSupport
TransactionSupportType getTransactionSupport()
Returns thetransaction-supportelement- Returns:
- the value found for the element
transaction-support
-
getTransactionSupportAsString
String getTransactionSupportAsString()
Returns thetransaction-supportelement- Returns:
- the value found for the element
transaction-support
-
removeTransactionSupport
OutboundResourceadapterType<T> removeTransactionSupport()
Removes thetransaction-supportattribute- Returns:
- the current instance of
OutboundResourceadapterType
-
getOrCreateAuthenticationMechanism
AuthenticationMechanismType<OutboundResourceadapterType<T>> getOrCreateAuthenticationMechanism()
If not already created, a newauthentication-mechanismelement will be created and returned. Otherwise, the first existingauthentication-mechanismelement will be returned.- Returns:
- the instance defined for the element
authentication-mechanism
-
createAuthenticationMechanism
AuthenticationMechanismType<OutboundResourceadapterType<T>> createAuthenticationMechanism()
Creates a newauthentication-mechanismelement- Returns:
- the new created instance of
AuthenticationMechanismType>
-
getAllAuthenticationMechanism
List<AuthenticationMechanismType<OutboundResourceadapterType<T>>> getAllAuthenticationMechanism()
Returns allauthentication-mechanismelements- Returns:
- list of
authentication-mechanism
-
removeAllAuthenticationMechanism
OutboundResourceadapterType<T> removeAllAuthenticationMechanism()
Removes allauthentication-mechanismelements- Returns:
- the current instance of
AuthenticationMechanismType>
-
reauthenticationSupport
OutboundResourceadapterType<T> reauthenticationSupport(Boolean reauthenticationSupport)
Sets thereauthentication-supportelement- Parameters:
reauthenticationSupport- the value for the elementreauthentication-support- Returns:
- the current instance of
OutboundResourceadapterType
-
isReauthenticationSupport
Boolean isReauthenticationSupport()
Returns thereauthentication-supportelement- Returns:
- the node defined for the element
reauthentication-support
-
removeReauthenticationSupport
OutboundResourceadapterType<T> removeReauthenticationSupport()
Removes thereauthentication-supportelement- Returns:
- the current instance of
OutboundResourceadapterType
-
id
OutboundResourceadapterType<T> id(String id)
Sets theidattribute- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
OutboundResourceadapterType
-
getId
String getId()
Returns theidattribute- Returns:
- the value defined for the attribute
id
-
removeId
OutboundResourceadapterType<T> removeId()
Removes theidattribute- Returns:
- the current instance of
OutboundResourceadapterType
-
-