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 theresourceadapterxsd type
-
-
Constructor Summary
Constructors Constructor Description ResourceadapterImpl(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Resourceadapter<T>connectionfactoryImplClass(String connectionfactoryImplClass)Sets theconnectionfactory-impl-classelementResourceadapter<T>connectionfactoryInterface(String connectionfactoryInterface)Sets theconnectionfactory-interfaceelementResourceadapter<T>connectionImplClass(String connectionImplClass)Sets theconnection-impl-classelementResourceadapter<T>connectionInterface(String connectionInterface)Sets theconnection-interfaceelementAuthenticationMechanism<Resourceadapter<T>>createAuthenticationMechanism()Creates a newauthentication-mechanismelementConfigProperty<Resourceadapter<T>>createConfigProperty()Creates a newconfig-propertyelementSecurityPermission<Resourceadapter<T>>createSecurityPermission()Creates a newsecurity-permissionelementList<AuthenticationMechanism<Resourceadapter<T>>>getAllAuthenticationMechanism()Returns allauthentication-mechanismelementsList<ConfigProperty<Resourceadapter<T>>>getAllConfigProperty()Returns allconfig-propertyelementsList<SecurityPermission<Resourceadapter<T>>>getAllSecurityPermission()Returns allsecurity-permissionelementsStringgetConnectionfactoryImplClass()Returns theconnectionfactory-impl-classelementStringgetConnectionfactoryInterface()Returns theconnectionfactory-interfaceelementStringgetConnectionImplClass()Returns theconnection-impl-classelementStringgetConnectionInterface()Returns theconnection-interfaceelementStringgetManagedconnectionfactoryClass()Returns themanagedconnectionfactory-classelementAuthenticationMechanism<Resourceadapter<T>>getOrCreateAuthenticationMechanism()If not already created, a newauthentication-mechanismelement will be created and returned.ConfigProperty<Resourceadapter<T>>getOrCreateConfigProperty()If not already created, a newconfig-propertyelement will be created and returned.SecurityPermission<Resourceadapter<T>>getOrCreateSecurityPermission()If not already created, a newsecurity-permissionelement will be created and returned.StringgetReauthenticationSupport()Returns thereauthentication-supportelementStringgetTransactionSupport()Returns thetransaction-supportelementResourceadapter<T>managedconnectionfactoryClass(String managedconnectionfactoryClass)Sets themanagedconnectionfactory-classelementResourceadapter<T>reauthenticationSupport(String reauthenticationSupport)Sets thereauthentication-supportelementResourceadapter<T>removeAllAuthenticationMechanism()Removes allauthentication-mechanismelementsResourceadapter<T>removeAllConfigProperty()Removes allconfig-propertyelementsResourceadapter<T>removeAllSecurityPermission()Removes allsecurity-permissionelementsResourceadapter<T>removeConnectionfactoryImplClass()Removes theconnectionfactory-impl-classelementResourceadapter<T>removeConnectionfactoryInterface()Removes theconnectionfactory-interfaceelementResourceadapter<T>removeConnectionImplClass()Removes theconnection-impl-classelementResourceadapter<T>removeConnectionInterface()Removes theconnection-interfaceelementResourceadapter<T>removeManagedconnectionfactoryClass()Removes themanagedconnectionfactory-classelementResourceadapter<T>removeReauthenticationSupport()Removes thereauthentication-supportelementResourceadapter<T>removeTransactionSupport()Removes thetransaction-supportelementResourceadapter<T>transactionSupport(String transactionSupport)Sets thetransaction-supportelementTup()
-
-
-
Method Detail
-
connectionfactoryInterface
public Resourceadapter<T> connectionfactoryInterface(String connectionfactoryInterface)
Sets theconnectionfactory-interfaceelement- Specified by:
connectionfactoryInterfacein interfaceResourceadapter<T>- Parameters:
connectionfactoryInterface- the value for the elementconnectionfactory-interface- Returns:
- the current instance of
Resourceadapter
-
getConnectionfactoryInterface
public String getConnectionfactoryInterface()
Returns theconnectionfactory-interfaceelement- Specified by:
getConnectionfactoryInterfacein interfaceResourceadapter<T>- Returns:
- the node defined for the element
connectionfactory-interface
-
removeConnectionfactoryInterface
public Resourceadapter<T> removeConnectionfactoryInterface()
Removes theconnectionfactory-interfaceelement- Specified by:
removeConnectionfactoryInterfacein interfaceResourceadapter<T>- Returns:
- the current instance of
Resourceadapter
-
connectionImplClass
public Resourceadapter<T> connectionImplClass(String 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
public String getConnectionImplClass()
Returns theconnection-impl-classelement- Specified by:
getConnectionImplClassin interfaceResourceadapter<T>- Returns:
- the node defined for the element
connection-impl-class
-
removeConnectionImplClass
public Resourceadapter<T> removeConnectionImplClass()
Removes theconnection-impl-classelement- Specified by:
removeConnectionImplClassin interfaceResourceadapter<T>- Returns:
- the current instance of
Resourceadapter
-
managedconnectionfactoryClass
public Resourceadapter<T> managedconnectionfactoryClass(String managedconnectionfactoryClass)
Sets themanagedconnectionfactory-classelement- Specified by:
managedconnectionfactoryClassin interfaceResourceadapter<T>- Parameters:
managedconnectionfactoryClass- the value for the elementmanagedconnectionfactory-class- Returns:
- the current instance of
Resourceadapter
-
getManagedconnectionfactoryClass
public String getManagedconnectionfactoryClass()
Returns themanagedconnectionfactory-classelement- Specified by:
getManagedconnectionfactoryClassin interfaceResourceadapter<T>- Returns:
- the node defined for the element
managedconnectionfactory-class
-
removeManagedconnectionfactoryClass
public Resourceadapter<T> removeManagedconnectionfactoryClass()
Removes themanagedconnectionfactory-classelement- Specified by:
removeManagedconnectionfactoryClassin interfaceResourceadapter<T>- Returns:
- the current instance of
Resourceadapter
-
getOrCreateAuthenticationMechanism
public AuthenticationMechanism<Resourceadapter<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 interfaceResourceadapter<T>- Returns:
- the instance defined for the element
authentication-mechanism
-
createAuthenticationMechanism
public AuthenticationMechanism<Resourceadapter<T>> createAuthenticationMechanism()
Creates a newauthentication-mechanismelement- Specified by:
createAuthenticationMechanismin interfaceResourceadapter<T>- Returns:
- the new created instance of
AuthenticationMechanism>
-
getAllAuthenticationMechanism
public List<AuthenticationMechanism<Resourceadapter<T>>> getAllAuthenticationMechanism()
Returns allauthentication-mechanismelements- Specified by:
getAllAuthenticationMechanismin interfaceResourceadapter<T>- Returns:
- list of
authentication-mechanism
-
removeAllAuthenticationMechanism
public Resourceadapter<T> removeAllAuthenticationMechanism()
Removes allauthentication-mechanismelements- Specified by:
removeAllAuthenticationMechanismin interfaceResourceadapter<T>- Returns:
- the current instance of
AuthenticationMechanism>
-
getOrCreateSecurityPermission
public SecurityPermission<Resourceadapter<T>> 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
public SecurityPermission<Resourceadapter<T>> createSecurityPermission()
Creates a newsecurity-permissionelement- Specified by:
createSecurityPermissionin interfaceResourceadapter<T>- Returns:
- the new created instance of
SecurityPermission>
-
getAllSecurityPermission
public List<SecurityPermission<Resourceadapter<T>>> getAllSecurityPermission()
Returns allsecurity-permissionelements- Specified by:
getAllSecurityPermissionin interfaceResourceadapter<T>- Returns:
- list of
security-permission
-
removeAllSecurityPermission
public Resourceadapter<T> removeAllSecurityPermission()
Removes allsecurity-permissionelements- Specified by:
removeAllSecurityPermissionin interfaceResourceadapter<T>- Returns:
- the current instance of
SecurityPermission>
-
connectionfactoryImplClass
public Resourceadapter<T> connectionfactoryImplClass(String 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
public String getConnectionfactoryImplClass()
Returns theconnectionfactory-impl-classelement- Specified by:
getConnectionfactoryImplClassin interfaceResourceadapter<T>- Returns:
- the node defined for the element
connectionfactory-impl-class
-
removeConnectionfactoryImplClass
public Resourceadapter<T> removeConnectionfactoryImplClass()
Removes theconnectionfactory-impl-classelement- Specified by:
removeConnectionfactoryImplClassin interfaceResourceadapter<T>- Returns:
- the current instance of
Resourceadapter
-
getOrCreateConfigProperty
public ConfigProperty<Resourceadapter<T>> 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
public ConfigProperty<Resourceadapter<T>> createConfigProperty()
Creates a newconfig-propertyelement- Specified by:
createConfigPropertyin interfaceResourceadapter<T>- Returns:
- the new created instance of
ConfigProperty>
-
getAllConfigProperty
public List<ConfigProperty<Resourceadapter<T>>> getAllConfigProperty()
Returns allconfig-propertyelements- Specified by:
getAllConfigPropertyin interfaceResourceadapter<T>- Returns:
- list of
config-property
-
removeAllConfigProperty
public Resourceadapter<T> removeAllConfigProperty()
Removes allconfig-propertyelements- Specified by:
removeAllConfigPropertyin interfaceResourceadapter<T>- Returns:
- the current instance of
ConfigProperty>
-
reauthenticationSupport
public Resourceadapter<T> reauthenticationSupport(String reauthenticationSupport)
Sets thereauthentication-supportelement- Specified by:
reauthenticationSupportin interfaceResourceadapter<T>- Parameters:
reauthenticationSupport- the value for the elementreauthentication-support- Returns:
- the current instance of
Resourceadapter
-
getReauthenticationSupport
public String getReauthenticationSupport()
Returns thereauthentication-supportelement- Specified by:
getReauthenticationSupportin interfaceResourceadapter<T>- Returns:
- the node defined for the element
reauthentication-support
-
removeReauthenticationSupport
public Resourceadapter<T> removeReauthenticationSupport()
Removes thereauthentication-supportelement- Specified by:
removeReauthenticationSupportin interfaceResourceadapter<T>- Returns:
- the current instance of
Resourceadapter
-
connectionInterface
public Resourceadapter<T> connectionInterface(String connectionInterface)
Sets theconnection-interfaceelement- Specified by:
connectionInterfacein interfaceResourceadapter<T>- Parameters:
connectionInterface- the value for the elementconnection-interface- Returns:
- the current instance of
Resourceadapter
-
getConnectionInterface
public String getConnectionInterface()
Returns theconnection-interfaceelement- Specified by:
getConnectionInterfacein interfaceResourceadapter<T>- Returns:
- the node defined for the element
connection-interface
-
removeConnectionInterface
public Resourceadapter<T> removeConnectionInterface()
Removes theconnection-interfaceelement- Specified by:
removeConnectionInterfacein interfaceResourceadapter<T>- Returns:
- the current instance of
Resourceadapter
-
transactionSupport
public Resourceadapter<T> transactionSupport(String transactionSupport)
Sets thetransaction-supportelement- Specified by:
transactionSupportin interfaceResourceadapter<T>- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
Resourceadapter
-
getTransactionSupport
public String getTransactionSupport()
Returns thetransaction-supportelement- Specified by:
getTransactionSupportin interfaceResourceadapter<T>- Returns:
- the node defined for the element
transaction-support
-
removeTransactionSupport
public Resourceadapter<T> removeTransactionSupport()
Removes thetransaction-supportelement- Specified by:
removeTransactionSupportin interfaceResourceadapter<T>- Returns:
- the current instance of
Resourceadapter
-
-