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 theresourceadapterxsd type
-
-
Method Summary
All Methods Instance Methods Abstract 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-supportelement
-
-
-
Method Detail
-
connectionfactoryInterface
Resourceadapter<T> connectionfactoryInterface(String 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
Resourceadapter<T> connectionImplClass(String 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
Resourceadapter<T> managedconnectionfactoryClass(String 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
AuthenticationMechanism>
-
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
AuthenticationMechanism>
-
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
SecurityPermission>
-
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
SecurityPermission>
-
connectionfactoryImplClass
Resourceadapter<T> connectionfactoryImplClass(String 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
ConfigProperty>
-
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
ConfigProperty>
-
reauthenticationSupport
Resourceadapter<T> reauthenticationSupport(String 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
Resourceadapter<T> connectionInterface(String 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
Resourceadapter<T> transactionSupport(String 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
-
-