Interface Resourceadapter<T>
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
ResourceadapterImpl
public interface Resourceadapter<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the
resourceadapter xsd type-
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-supportelementMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
connectionfactoryInterface
Sets theconnectionfactory-interfaceelement- Parameters:
connectionfactoryInterface- the value for the elementconnectionfactory-interface- Returns:
- the current instance of
Resourceadapter
-
getConnectionfactoryInterface
String getConnectionfactoryInterface()Returns theconnectionfactory-interfaceelement- Returns:
- the node defined for the element
connectionfactory-interface
-
removeConnectionfactoryInterface
Resourceadapter<T> removeConnectionfactoryInterface()Removes theconnectionfactory-interfaceelement- Returns:
- the current instance of
Resourceadapter
-
connectionImplClass
Sets theconnection-impl-classelement- Parameters:
connectionImplClass- the value for the elementconnection-impl-class- Returns:
- the current instance of
Resourceadapter
-
getConnectionImplClass
String getConnectionImplClass()Returns theconnection-impl-classelement- Returns:
- the node defined for the element
connection-impl-class
-
removeConnectionImplClass
Resourceadapter<T> removeConnectionImplClass()Removes theconnection-impl-classelement- Returns:
- the current instance of
Resourceadapter
-
managedconnectionfactoryClass
Sets themanagedconnectionfactory-classelement- Parameters:
managedconnectionfactoryClass- the value for the elementmanagedconnectionfactory-class- Returns:
- the current instance of
Resourceadapter
-
getManagedconnectionfactoryClass
String getManagedconnectionfactoryClass()Returns themanagedconnectionfactory-classelement- Returns:
- the node defined for the element
managedconnectionfactory-class
-
removeManagedconnectionfactoryClass
Resourceadapter<T> removeManagedconnectionfactoryClass()Removes themanagedconnectionfactory-classelement- Returns:
- the current instance of
Resourceadapter
-
getOrCreateAuthenticationMechanism
AuthenticationMechanism<Resourceadapter<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
AuthenticationMechanism<Resourceadapter<T>> createAuthenticationMechanism()Creates a newauthentication-mechanismelement- Returns:
- the new created instance of
AuthenticationMechanisminvalid input: '<'Resourceadapter>
-
getAllAuthenticationMechanism
List<AuthenticationMechanism<Resourceadapter<T>>> getAllAuthenticationMechanism()Returns allauthentication-mechanismelements- Returns:
- list of
authentication-mechanism
-
removeAllAuthenticationMechanism
Resourceadapter<T> removeAllAuthenticationMechanism()Removes allauthentication-mechanismelements- Returns:
- the current instance of
AuthenticationMechanisminvalid input: '<'Resourceadapter>
-
getOrCreateSecurityPermission
SecurityPermission<Resourceadapter<T>> getOrCreateSecurityPermission()If not already created, a newsecurity-permissionelement will be created and returned. Otherwise, the first existingsecurity-permissionelement will be returned.- Returns:
- the instance defined for the element
security-permission
-
createSecurityPermission
SecurityPermission<Resourceadapter<T>> createSecurityPermission()Creates a newsecurity-permissionelement- Returns:
- the new created instance of
SecurityPermissioninvalid input: '<'Resourceadapter>
-
getAllSecurityPermission
List<SecurityPermission<Resourceadapter<T>>> getAllSecurityPermission()Returns allsecurity-permissionelements- Returns:
- list of
security-permission
-
removeAllSecurityPermission
Resourceadapter<T> removeAllSecurityPermission()Removes allsecurity-permissionelements- Returns:
- the current instance of
SecurityPermissioninvalid input: '<'Resourceadapter>
-
connectionfactoryImplClass
Sets theconnectionfactory-impl-classelement- Parameters:
connectionfactoryImplClass- the value for the elementconnectionfactory-impl-class- Returns:
- the current instance of
Resourceadapter
-
getConnectionfactoryImplClass
String getConnectionfactoryImplClass()Returns theconnectionfactory-impl-classelement- Returns:
- the node defined for the element
connectionfactory-impl-class
-
removeConnectionfactoryImplClass
Resourceadapter<T> removeConnectionfactoryImplClass()Removes theconnectionfactory-impl-classelement- Returns:
- the current instance of
Resourceadapter
-
getOrCreateConfigProperty
ConfigProperty<Resourceadapter<T>> getOrCreateConfigProperty()If not already created, a newconfig-propertyelement will be created and returned. Otherwise, the first existingconfig-propertyelement will be returned.- Returns:
- the instance defined for the element
config-property
-
createConfigProperty
ConfigProperty<Resourceadapter<T>> createConfigProperty()Creates a newconfig-propertyelement- Returns:
- the new created instance of
ConfigPropertyinvalid input: '<'Resourceadapter>
-
getAllConfigProperty
List<ConfigProperty<Resourceadapter<T>>> getAllConfigProperty()Returns allconfig-propertyelements- Returns:
- list of
config-property
-
removeAllConfigProperty
Resourceadapter<T> removeAllConfigProperty()Removes allconfig-propertyelements- Returns:
- the current instance of
ConfigPropertyinvalid input: '<'Resourceadapter>
-
reauthenticationSupport
Sets thereauthentication-supportelement- Parameters:
reauthenticationSupport- the value for the elementreauthentication-support- Returns:
- the current instance of
Resourceadapter
-
getReauthenticationSupport
String getReauthenticationSupport()Returns thereauthentication-supportelement- Returns:
- the node defined for the element
reauthentication-support
-
removeReauthenticationSupport
Resourceadapter<T> removeReauthenticationSupport()Removes thereauthentication-supportelement- Returns:
- the current instance of
Resourceadapter
-
connectionInterface
Sets theconnection-interfaceelement- Parameters:
connectionInterface- the value for the elementconnection-interface- Returns:
- the current instance of
Resourceadapter
-
getConnectionInterface
String getConnectionInterface()Returns theconnection-interfaceelement- Returns:
- the node defined for the element
connection-interface
-
removeConnectionInterface
Resourceadapter<T> removeConnectionInterface()Removes theconnection-interfaceelement- Returns:
- the current instance of
Resourceadapter
-
transactionSupport
Sets thetransaction-supportelement- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
Resourceadapter
-
getTransactionSupport
String getTransactionSupport()Returns thetransaction-supportelement- Returns:
- the node defined for the element
transaction-support
-
removeTransactionSupport
Resourceadapter<T> removeTransactionSupport()Removes thetransaction-supportelement- Returns:
- the current instance of
Resourceadapter
-