public class ResourceadapterImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, Resourceadapter<T>
resourceadapter
xsd typeType | Property and Description |
---|---|
ConfigProperty<Resourceadapter<T>> |
createConfig
Creates a new
config-property element |
Resourceadapter<T> |
removeAllConfig
Removes all
config-property elements |
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
Resourceadapter<T> |
connectionfactoryImplClass(String connectionfactoryImplClass)
Sets the
connectionfactory-impl-class element |
Resourceadapter<T> |
connectionfactoryInterface(String connectionfactoryInterface)
Sets the
connectionfactory-interface element |
Resourceadapter<T> |
connectionImplClass(String connectionImplClass)
Sets the
connection-impl-class element |
Resourceadapter<T> |
connectionInterface(String connectionInterface)
Sets the
connection-interface element |
AuthenticationMechanism<Resourceadapter<T>> |
createAuthenticationMechanism()
Creates a new
authentication-mechanism element |
ConfigProperty<Resourceadapter<T>> |
createConfigProperty()
Creates a new
config-property element |
SecurityPermission<Resourceadapter<T>> |
createSecurityPermission()
Creates a new
security-permission element |
List<AuthenticationMechanism<Resourceadapter<T>>> |
getAllAuthenticationMechanism()
Returns all
authentication-mechanism elements |
List<ConfigProperty<Resourceadapter<T>>> |
getAllConfigProperty()
Returns all
config-property elements |
List<SecurityPermission<Resourceadapter<T>>> |
getAllSecurityPermission()
Returns all
security-permission elements |
String |
getConnectionfactoryImplClass()
Returns the
connectionfactory-impl-class element |
String |
getConnectionfactoryInterface()
Returns the
connectionfactory-interface element |
String |
getConnectionImplClass()
Returns the
connection-impl-class element |
String |
getConnectionInterface()
Returns the
connection-interface element |
String |
getManagedconnectionfactoryClass()
Returns the
managedconnectionfactory-class element |
AuthenticationMechanism<Resourceadapter<T>> |
getOrCreateAuthenticationMechanism()
If not already created, a new
authentication-mechanism element will be created and returned. |
ConfigProperty<Resourceadapter<T>> |
getOrCreateConfigProperty()
If not already created, a new
config-property element will be created and returned. |
SecurityPermission<Resourceadapter<T>> |
getOrCreateSecurityPermission()
If not already created, a new
security-permission element will be created and returned. |
String |
getReauthenticationSupport()
Returns the
reauthentication-support element |
String |
getTransactionSupport()
Returns the
transaction-support element |
Resourceadapter<T> |
managedconnectionfactoryClass(String managedconnectionfactoryClass)
Sets the
managedconnectionfactory-class element |
Resourceadapter<T> |
reauthenticationSupport(String reauthenticationSupport)
Sets the
reauthentication-support element |
Resourceadapter<T> |
removeAllAuthenticationMechanism()
Removes all
authentication-mechanism elements |
Resourceadapter<T> |
removeAllConfigProperty()
Removes all
config-property elements |
Resourceadapter<T> |
removeAllSecurityPermission()
Removes all
security-permission elements |
Resourceadapter<T> |
removeConnectionfactoryImplClass()
Removes the
connectionfactory-impl-class element |
Resourceadapter<T> |
removeConnectionfactoryInterface()
Removes the
connectionfactory-interface element |
Resourceadapter<T> |
removeConnectionImplClass()
Removes the
connection-impl-class element |
Resourceadapter<T> |
removeConnectionInterface()
Removes the
connection-interface element |
Resourceadapter<T> |
removeManagedconnectionfactoryClass()
Removes the
managedconnectionfactory-class element |
Resourceadapter<T> |
removeReauthenticationSupport()
Removes the
reauthentication-support element |
Resourceadapter<T> |
removeTransactionSupport()
Removes the
transaction-support element |
Resourceadapter<T> |
transactionSupport(String transactionSupport)
Sets the
transaction-support element |
T |
up() |
public ConfigProperty<Resourceadapter<T>> createConfigProperty
config-property
elementcreateConfigProperty
in interface Resourceadapter<T>
public Resourceadapter<T> removeAllConfigProperty
config-property
elementsremoveAllConfigProperty
in interface Resourceadapter<T>
public ResourceadapterImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public Resourceadapter<T> connectionfactoryInterface(String connectionfactoryInterface)
connectionfactory-interface
elementconnectionfactoryInterface
in interface Resourceadapter<T>
connectionfactoryInterface
- the value for the element connectionfactory-interface
Resourceadapter
public String getConnectionfactoryInterface()
connectionfactory-interface
elementgetConnectionfactoryInterface
in interface Resourceadapter<T>
connectionfactory-interface
public Resourceadapter<T> removeConnectionfactoryInterface()
connectionfactory-interface
elementremoveConnectionfactoryInterface
in interface Resourceadapter<T>
Resourceadapter
public Resourceadapter<T> connectionImplClass(String connectionImplClass)
connection-impl-class
elementconnectionImplClass
in interface Resourceadapter<T>
connectionImplClass
- the value for the element connection-impl-class
Resourceadapter
public String getConnectionImplClass()
connection-impl-class
elementgetConnectionImplClass
in interface Resourceadapter<T>
connection-impl-class
public Resourceadapter<T> removeConnectionImplClass()
connection-impl-class
elementremoveConnectionImplClass
in interface Resourceadapter<T>
Resourceadapter
public Resourceadapter<T> managedconnectionfactoryClass(String managedconnectionfactoryClass)
managedconnectionfactory-class
elementmanagedconnectionfactoryClass
in interface Resourceadapter<T>
managedconnectionfactoryClass
- the value for the element managedconnectionfactory-class
Resourceadapter
public String getManagedconnectionfactoryClass()
managedconnectionfactory-class
elementgetManagedconnectionfactoryClass
in interface Resourceadapter<T>
managedconnectionfactory-class
public Resourceadapter<T> removeManagedconnectionfactoryClass()
managedconnectionfactory-class
elementremoveManagedconnectionfactoryClass
in interface Resourceadapter<T>
Resourceadapter
public AuthenticationMechanism<Resourceadapter<T>> getOrCreateAuthenticationMechanism()
authentication-mechanism
element will be created and returned.
Otherwise, the first existing authentication-mechanism
element will be returned.getOrCreateAuthenticationMechanism
in interface Resourceadapter<T>
authentication-mechanism
public AuthenticationMechanism<Resourceadapter<T>> createAuthenticationMechanism()
authentication-mechanism
elementcreateAuthenticationMechanism
in interface Resourceadapter<T>
AuthenticationMechanism>
public List<AuthenticationMechanism<Resourceadapter<T>>> getAllAuthenticationMechanism()
authentication-mechanism
elementsgetAllAuthenticationMechanism
in interface Resourceadapter<T>
authentication-mechanism
public Resourceadapter<T> removeAllAuthenticationMechanism()
authentication-mechanism
elementsremoveAllAuthenticationMechanism
in interface Resourceadapter<T>
AuthenticationMechanism>
public SecurityPermission<Resourceadapter<T>> getOrCreateSecurityPermission()
security-permission
element will be created and returned.
Otherwise, the first existing security-permission
element will be returned.getOrCreateSecurityPermission
in interface Resourceadapter<T>
security-permission
public SecurityPermission<Resourceadapter<T>> createSecurityPermission()
security-permission
elementcreateSecurityPermission
in interface Resourceadapter<T>
SecurityPermission>
public List<SecurityPermission<Resourceadapter<T>>> getAllSecurityPermission()
security-permission
elementsgetAllSecurityPermission
in interface Resourceadapter<T>
security-permission
public Resourceadapter<T> removeAllSecurityPermission()
security-permission
elementsremoveAllSecurityPermission
in interface Resourceadapter<T>
SecurityPermission>
public Resourceadapter<T> connectionfactoryImplClass(String connectionfactoryImplClass)
connectionfactory-impl-class
elementconnectionfactoryImplClass
in interface Resourceadapter<T>
connectionfactoryImplClass
- the value for the element connectionfactory-impl-class
Resourceadapter
public String getConnectionfactoryImplClass()
connectionfactory-impl-class
elementgetConnectionfactoryImplClass
in interface Resourceadapter<T>
connectionfactory-impl-class
public Resourceadapter<T> removeConnectionfactoryImplClass()
connectionfactory-impl-class
elementremoveConnectionfactoryImplClass
in interface Resourceadapter<T>
Resourceadapter
public ConfigProperty<Resourceadapter<T>> getOrCreateConfigProperty()
config-property
element will be created and returned.
Otherwise, the first existing config-property
element will be returned.getOrCreateConfigProperty
in interface Resourceadapter<T>
config-property
public ConfigProperty<Resourceadapter<T>> createConfigProperty()
config-property
elementcreateConfigProperty
in interface Resourceadapter<T>
public List<ConfigProperty<Resourceadapter<T>>> getAllConfigProperty()
config-property
elementsgetAllConfigProperty
in interface Resourceadapter<T>
config-property
public Resourceadapter<T> removeAllConfigProperty()
config-property
elementsremoveAllConfigProperty
in interface Resourceadapter<T>
public Resourceadapter<T> reauthenticationSupport(String reauthenticationSupport)
reauthentication-support
elementreauthenticationSupport
in interface Resourceadapter<T>
reauthenticationSupport
- the value for the element reauthentication-support
Resourceadapter
public String getReauthenticationSupport()
reauthentication-support
elementgetReauthenticationSupport
in interface Resourceadapter<T>
reauthentication-support
public Resourceadapter<T> removeReauthenticationSupport()
reauthentication-support
elementremoveReauthenticationSupport
in interface Resourceadapter<T>
Resourceadapter
public Resourceadapter<T> connectionInterface(String connectionInterface)
connection-interface
elementconnectionInterface
in interface Resourceadapter<T>
connectionInterface
- the value for the element connection-interface
Resourceadapter
public String getConnectionInterface()
connection-interface
elementgetConnectionInterface
in interface Resourceadapter<T>
connection-interface
public Resourceadapter<T> removeConnectionInterface()
connection-interface
elementremoveConnectionInterface
in interface Resourceadapter<T>
Resourceadapter
public Resourceadapter<T> transactionSupport(String transactionSupport)
transaction-support
elementtransactionSupport
in interface Resourceadapter<T>
transactionSupport
- the value for the element transaction-support
Resourceadapter
public String getTransactionSupport()
transaction-support
elementgetTransactionSupport
in interface Resourceadapter<T>
transaction-support
public Resourceadapter<T> removeTransactionSupport()
transaction-support
elementremoveTransactionSupport
in interface Resourceadapter<T>
Resourceadapter
Copyright © 2017 JBoss by Red Hat. All rights reserved.