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 the
outbound-resourceadapterType xsd type-
Method Summary
Modifier and TypeMethodDescriptionCreates a newauthentication-mechanismelementCreates a newconnection-definitionelementReturns allauthentication-mechanismelementsReturns allconnection-definitionelementsgetId()Returns theidattributeIf not already created, a newauthentication-mechanismelement will be created and returned.If not already created, a newconnection-definitionelement will be created and returned.Returns thetransaction-supportelementReturns thetransaction-supportelementSets theidattributeReturns thereauthentication-supportelementreauthenticationSupport(Boolean reauthenticationSupport) Sets thereauthentication-supportelementRemoves allauthentication-mechanismelementsRemoves allconnection-definitionelementsremoveId()Removes theidattributeRemoves thereauthentication-supportelementRemoves thetransaction-supportattributetransactionSupport(String transactionSupport) Sets thetransaction-supportelementtransactionSupport(TransactionSupportType transactionSupport) Sets thetransaction-supportelementMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
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
ConnectionDefinitionTypeinvalid input: '<'OutboundResourceadapterType>
-
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
ConnectionDefinitionTypeinvalid input: '<'OutboundResourceadapterType>
-
transactionSupport
Sets thetransaction-supportelement- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
OutboundResourceadapterType
-
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
AuthenticationMechanismTypeinvalid input: '<'OutboundResourceadapterType>
-
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
AuthenticationMechanismTypeinvalid input: '<'OutboundResourceadapterType>
-
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
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
-