Class ResourceadapterImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.connector10.ResourceadapterImpl<T>
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,Resourceadapter<T>
public class ResourceadapterImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, Resourceadapter<T>
This class implements the
resourceadapter xsd type-
Constructor Summary
ConstructorsConstructorDescriptionResourceadapterImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) ResourceadapterImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) -
Method Summary
Modifier and TypeMethodDescriptionconnectionfactoryImplClass(String connectionfactoryImplClass) Sets theconnectionfactory-impl-classelementconnectionfactoryInterface(String connectionfactoryInterface) Sets theconnectionfactory-interfaceelementconnectionImplClass(String connectionImplClass) Sets theconnection-impl-classelementconnectionInterface(String connectionInterface) Sets theconnection-interfaceelementCreates a newauthentication-mechanismelementCreates a newconfig-propertyelementCreates a newsecurity-permissionelementReturns allauthentication-mechanismelementsReturns allconfig-propertyelementsReturns allsecurity-permissionelementsReturns theconnectionfactory-impl-classelementReturns theconnectionfactory-interfaceelementReturns theconnection-impl-classelementReturns theconnection-interfaceelementReturns themanagedconnectionfactory-classelementIf not already created, a newauthentication-mechanismelement will be created and returned.If not already created, a newconfig-propertyelement will be created and returned.If not already created, a newsecurity-permissionelement will be created and returned.Returns thereauthentication-supportelementReturns thetransaction-supportelementmanagedconnectionfactoryClass(String managedconnectionfactoryClass) Sets themanagedconnectionfactory-classelementreauthenticationSupport(String reauthenticationSupport) Sets thereauthentication-supportelementRemoves allauthentication-mechanismelementsRemoves allconfig-propertyelementsRemoves allsecurity-permissionelementsRemoves theconnectionfactory-impl-classelementRemoves theconnectionfactory-interfaceelementRemoves theconnection-impl-classelementRemoves theconnection-interfaceelementRemoves themanagedconnectionfactory-classelementRemoves thereauthentication-supportelementRemoves thetransaction-supportelementtransactionSupport(String transactionSupport) Sets thetransaction-supportelementup()
-
Constructor Details
-
ResourceadapterImpl
-
ResourceadapterImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
connectionfactoryInterface
Sets theconnectionfactory-interfaceelement- Specified by:
connectionfactoryInterfacein interfaceResourceadapter<T>- Parameters:
connectionfactoryInterface- the value for the elementconnectionfactory-interface- Returns:
- the current instance of
Resourceadapter
-
getConnectionfactoryInterface
Returns theconnectionfactory-interfaceelement- Specified by:
getConnectionfactoryInterfacein interfaceResourceadapter<T>- Returns:
- the node defined for the element
connectionfactory-interface
-
removeConnectionfactoryInterface
Removes theconnectionfactory-interfaceelement- Specified by:
removeConnectionfactoryInterfacein interfaceResourceadapter<T>- Returns:
- the current instance of
Resourceadapter
-
connectionImplClass
Sets theconnection-impl-classelement- Specified by:
connectionImplClassin interfaceResourceadapter<T>- Parameters:
connectionImplClass- the value for the elementconnection-impl-class- Returns:
- the current instance of
Resourceadapter
-
getConnectionImplClass
Returns theconnection-impl-classelement- Specified by:
getConnectionImplClassin interfaceResourceadapter<T>- Returns:
- the node defined for the element
connection-impl-class
-
removeConnectionImplClass
Removes theconnection-impl-classelement- Specified by:
removeConnectionImplClassin interfaceResourceadapter<T>- Returns:
- the current instance of
Resourceadapter
-
managedconnectionfactoryClass
Sets themanagedconnectionfactory-classelement- Specified by:
managedconnectionfactoryClassin interfaceResourceadapter<T>- Parameters:
managedconnectionfactoryClass- the value for the elementmanagedconnectionfactory-class- Returns:
- the current instance of
Resourceadapter
-
getManagedconnectionfactoryClass
Returns themanagedconnectionfactory-classelement- Specified by:
getManagedconnectionfactoryClassin interfaceResourceadapter<T>- Returns:
- the node defined for the element
managedconnectionfactory-class
-
removeManagedconnectionfactoryClass
Removes themanagedconnectionfactory-classelement- Specified by:
removeManagedconnectionfactoryClassin interfaceResourceadapter<T>- Returns:
- the current instance of
Resourceadapter
-
getOrCreateAuthenticationMechanism
If not already created, a newauthentication-mechanismelement will be created and returned. Otherwise, the first existingauthentication-mechanismelement will be returned.- Specified by:
getOrCreateAuthenticationMechanismin interfaceResourceadapter<T>- Returns:
- the instance defined for the element
authentication-mechanism
-
createAuthenticationMechanism
Creates a newauthentication-mechanismelement- Specified by:
createAuthenticationMechanismin interfaceResourceadapter<T>- Returns:
- the new created instance of
AuthenticationMechanisminvalid input: '<'Resourceadapter>
-
getAllAuthenticationMechanism
Returns allauthentication-mechanismelements- Specified by:
getAllAuthenticationMechanismin interfaceResourceadapter<T>- Returns:
- list of
authentication-mechanism
-
removeAllAuthenticationMechanism
Removes allauthentication-mechanismelements- Specified by:
removeAllAuthenticationMechanismin interfaceResourceadapter<T>- Returns:
- the current instance of
AuthenticationMechanisminvalid input: '<'Resourceadapter>
-
getOrCreateSecurityPermission
If not already created, a newsecurity-permissionelement will be created and returned. Otherwise, the first existingsecurity-permissionelement will be returned.- Specified by:
getOrCreateSecurityPermissionin interfaceResourceadapter<T>- Returns:
- the instance defined for the element
security-permission
-
createSecurityPermission
Creates a newsecurity-permissionelement- Specified by:
createSecurityPermissionin interfaceResourceadapter<T>- Returns:
- the new created instance of
SecurityPermissioninvalid input: '<'Resourceadapter>
-
getAllSecurityPermission
Returns allsecurity-permissionelements- Specified by:
getAllSecurityPermissionin interfaceResourceadapter<T>- Returns:
- list of
security-permission
-
removeAllSecurityPermission
Removes allsecurity-permissionelements- Specified by:
removeAllSecurityPermissionin interfaceResourceadapter<T>- Returns:
- the current instance of
SecurityPermissioninvalid input: '<'Resourceadapter>
-
connectionfactoryImplClass
Sets theconnectionfactory-impl-classelement- Specified by:
connectionfactoryImplClassin interfaceResourceadapter<T>- Parameters:
connectionfactoryImplClass- the value for the elementconnectionfactory-impl-class- Returns:
- the current instance of
Resourceadapter
-
getConnectionfactoryImplClass
Returns theconnectionfactory-impl-classelement- Specified by:
getConnectionfactoryImplClassin interfaceResourceadapter<T>- Returns:
- the node defined for the element
connectionfactory-impl-class
-
removeConnectionfactoryImplClass
Removes theconnectionfactory-impl-classelement- Specified by:
removeConnectionfactoryImplClassin interfaceResourceadapter<T>- Returns:
- the current instance of
Resourceadapter
-
getOrCreateConfigProperty
If not already created, a newconfig-propertyelement will be created and returned. Otherwise, the first existingconfig-propertyelement will be returned.- Specified by:
getOrCreateConfigPropertyin interfaceResourceadapter<T>- Returns:
- the instance defined for the element
config-property
-
createConfigProperty
Creates a newconfig-propertyelement- Specified by:
createConfigPropertyin interfaceResourceadapter<T>- Returns:
- the new created instance of
ConfigPropertyinvalid input: '<'Resourceadapter>
-
getAllConfigProperty
Returns allconfig-propertyelements- Specified by:
getAllConfigPropertyin interfaceResourceadapter<T>- Returns:
- list of
config-property
-
removeAllConfigProperty
Removes allconfig-propertyelements- Specified by:
removeAllConfigPropertyin interfaceResourceadapter<T>- Returns:
- the current instance of
ConfigPropertyinvalid input: '<'Resourceadapter>
-
reauthenticationSupport
Sets thereauthentication-supportelement- Specified by:
reauthenticationSupportin interfaceResourceadapter<T>- Parameters:
reauthenticationSupport- the value for the elementreauthentication-support- Returns:
- the current instance of
Resourceadapter
-
getReauthenticationSupport
Returns thereauthentication-supportelement- Specified by:
getReauthenticationSupportin interfaceResourceadapter<T>- Returns:
- the node defined for the element
reauthentication-support
-
removeReauthenticationSupport
Removes thereauthentication-supportelement- Specified by:
removeReauthenticationSupportin interfaceResourceadapter<T>- Returns:
- the current instance of
Resourceadapter
-
connectionInterface
Sets theconnection-interfaceelement- Specified by:
connectionInterfacein interfaceResourceadapter<T>- Parameters:
connectionInterface- the value for the elementconnection-interface- Returns:
- the current instance of
Resourceadapter
-
getConnectionInterface
Returns theconnection-interfaceelement- Specified by:
getConnectionInterfacein interfaceResourceadapter<T>- Returns:
- the node defined for the element
connection-interface
-
removeConnectionInterface
Removes theconnection-interfaceelement- Specified by:
removeConnectionInterfacein interfaceResourceadapter<T>- Returns:
- the current instance of
Resourceadapter
-
transactionSupport
Sets thetransaction-supportelement- Specified by:
transactionSupportin interfaceResourceadapter<T>- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
Resourceadapter
-
getTransactionSupport
Returns thetransaction-supportelement- Specified by:
getTransactionSupportin interfaceResourceadapter<T>- Returns:
- the node defined for the element
transaction-support
-
removeTransactionSupport
Removes thetransaction-supportelement- Specified by:
removeTransactionSupportin interfaceResourceadapter<T>- Returns:
- the current instance of
Resourceadapter
-