Class OutboundResourceadapterTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.connector15.OutboundResourceadapterTypeImpl<T>
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,OutboundResourceadapterType<T>
public class OutboundResourceadapterTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, OutboundResourceadapterType<T>
This class implements the
outbound-resourceadapterType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionOutboundResourceadapterTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) OutboundResourceadapterTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) -
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-supportelementup()
-
Constructor Details
-
OutboundResourceadapterTypeImpl
-
OutboundResourceadapterTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
getOrCreateConnectionDefinition
If not already created, a newconnection-definitionelement will be created and returned. Otherwise, the first existingconnection-definitionelement will be returned.- Specified by:
getOrCreateConnectionDefinitionin interfaceOutboundResourceadapterType<T>- Returns:
- the instance defined for the element
connection-definition
-
createConnectionDefinition
Creates a newconnection-definitionelement- Specified by:
createConnectionDefinitionin interfaceOutboundResourceadapterType<T>- Returns:
- the new created instance of
ConnectionDefinitionType<OutboundResourceadapterType>
-
getAllConnectionDefinition
Returns allconnection-definitionelements- Specified by:
getAllConnectionDefinitionin interfaceOutboundResourceadapterType<T>- Returns:
- list of
connection-definition
-
removeAllConnectionDefinition
Removes allconnection-definitionelements- Specified by:
removeAllConnectionDefinitionin interfaceOutboundResourceadapterType<T>- Returns:
- the current instance of
ConnectionDefinitionType<OutboundResourceadapterType>
-
transactionSupport
Sets thetransaction-supportelement- Specified by:
transactionSupportin interfaceOutboundResourceadapterType<T>- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
OutboundResourceadapterType
-
transactionSupport
Sets thetransaction-supportelement- Specified by:
transactionSupportin interfaceOutboundResourceadapterType<T>- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
OutboundResourceadapterType
-
getTransactionSupport
Returns thetransaction-supportelement- Specified by:
getTransactionSupportin interfaceOutboundResourceadapterType<T>- Returns:
- the value found for the element
transaction-support
-
getTransactionSupportAsString
Returns thetransaction-supportelement- Specified by:
getTransactionSupportAsStringin interfaceOutboundResourceadapterType<T>- Returns:
- the value found for the element
transaction-support
-
removeTransactionSupport
Removes thetransaction-supportattribute- Specified by:
removeTransactionSupportin interfaceOutboundResourceadapterType<T>- Returns:
- the current instance of
OutboundResourceadapterType
-
getOrCreateAuthenticationMechanism
public AuthenticationMechanismType<OutboundResourceadapterType<T>> getOrCreateAuthenticationMechanism()If not already created, a newauthentication-mechanismelement will be created and returned. Otherwise, the first existingauthentication-mechanismelement will be returned.- Specified by:
getOrCreateAuthenticationMechanismin interfaceOutboundResourceadapterType<T>- Returns:
- the instance defined for the element
authentication-mechanism
-
createAuthenticationMechanism
Creates a newauthentication-mechanismelement- Specified by:
createAuthenticationMechanismin interfaceOutboundResourceadapterType<T>- Returns:
- the new created instance of
AuthenticationMechanismType<OutboundResourceadapterType>
-
getAllAuthenticationMechanism
public List<AuthenticationMechanismType<OutboundResourceadapterType<T>>> getAllAuthenticationMechanism()Returns allauthentication-mechanismelements- Specified by:
getAllAuthenticationMechanismin interfaceOutboundResourceadapterType<T>- Returns:
- list of
authentication-mechanism
-
removeAllAuthenticationMechanism
Removes allauthentication-mechanismelements- Specified by:
removeAllAuthenticationMechanismin interfaceOutboundResourceadapterType<T>- Returns:
- the current instance of
AuthenticationMechanismType<OutboundResourceadapterType>
-
reauthenticationSupport
Sets thereauthentication-supportelement- Specified by:
reauthenticationSupportin interfaceOutboundResourceadapterType<T>- Parameters:
reauthenticationSupport- the value for the elementreauthentication-support- Returns:
- the current instance of
OutboundResourceadapterType
-
isReauthenticationSupport
Returns thereauthentication-supportelement- Specified by:
isReauthenticationSupportin interfaceOutboundResourceadapterType<T>- Returns:
- the node defined for the element
reauthentication-support
-
removeReauthenticationSupport
Removes thereauthentication-supportelement- Specified by:
removeReauthenticationSupportin interfaceOutboundResourceadapterType<T>- Returns:
- the current instance of
OutboundResourceadapterType
-
id
Sets theidattribute- Specified by:
idin interfaceOutboundResourceadapterType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
OutboundResourceadapterType
-
getId
Returns theidattribute- Specified by:
getIdin interfaceOutboundResourceadapterType<T>- Returns:
- the value defined for the attribute
id
-
removeId
Removes theidattribute- Specified by:
removeIdin interfaceOutboundResourceadapterType<T>- Returns:
- the current instance of
OutboundResourceadapterType
-