ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.connector10
Interface Resourceadapter<T>

All Superinterfaces:
Child<T>

public interface Resourceadapter<T>
extends Child<T>

This interface defines the contract for the resourceadapter xsd type

Since:
Generation date :2012-05-09T23:45:01.256-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 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
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

connectionInterface

Resourceadapter<T> connectionInterface(String connectionInterface)
Sets the connection-interface element

Parameters:
connectionInterface - the value for the element connection-interface
Returns:
the current instance of Resourceadapter

getConnectionInterface

String getConnectionInterface()
Returns the connection-interface element

Returns:
the node defined for the element connection-interface

removeConnectionInterface

Resourceadapter<T> removeConnectionInterface()
Removes the connection-interface element

Returns:
the current instance of Resourceadapter

getOrCreateConfigProperty

ConfigProperty<Resourceadapter<T>> getOrCreateConfigProperty()
If not already created, a new config-property element will be created and returned. Otherwise, the first existing config-property element will be returned.

Returns:
the instance defined for the element config-property

createConfigProperty

ConfigProperty<Resourceadapter<T>> createConfigProperty()
Creates a new config-property element

Returns:
the new created instance of ConfigProperty>

getAllConfigProperty

List<ConfigProperty<Resourceadapter<T>>> getAllConfigProperty()
Returns all config-property elements

Returns:
list of config-property

removeAllConfigProperty

Resourceadapter<T> removeAllConfigProperty()
Removes all config-property elements

Returns:
the current instance of ConfigProperty>

connectionImplClass

Resourceadapter<T> connectionImplClass(String connectionImplClass)
Sets the connection-impl-class element

Parameters:
connectionImplClass - the value for the element connection-impl-class
Returns:
the current instance of Resourceadapter

getConnectionImplClass

String getConnectionImplClass()
Returns the connection-impl-class element

Returns:
the node defined for the element connection-impl-class

removeConnectionImplClass

Resourceadapter<T> removeConnectionImplClass()
Removes the connection-impl-class element

Returns:
the current instance of Resourceadapter

connectionfactoryInterface

Resourceadapter<T> connectionfactoryInterface(String connectionfactoryInterface)
Sets the connectionfactory-interface element

Parameters:
connectionfactoryInterface - the value for the element connectionfactory-interface
Returns:
the current instance of Resourceadapter

getConnectionfactoryInterface

String getConnectionfactoryInterface()
Returns the connectionfactory-interface element

Returns:
the node defined for the element connectionfactory-interface

removeConnectionfactoryInterface

Resourceadapter<T> removeConnectionfactoryInterface()
Removes the connectionfactory-interface element

Returns:
the current instance of Resourceadapter

reauthenticationSupport

Resourceadapter<T> reauthenticationSupport(String reauthenticationSupport)
Sets the reauthentication-support element

Parameters:
reauthenticationSupport - the value for the element reauthentication-support
Returns:
the current instance of Resourceadapter

getReauthenticationSupport

String getReauthenticationSupport()
Returns the reauthentication-support element

Returns:
the node defined for the element reauthentication-support

removeReauthenticationSupport

Resourceadapter<T> removeReauthenticationSupport()
Removes the reauthentication-support element

Returns:
the current instance of Resourceadapter

getOrCreateAuthenticationMechanism

AuthenticationMechanism<Resourceadapter<T>> getOrCreateAuthenticationMechanism()
If not already created, a new authentication-mechanism element will be created and returned. Otherwise, the first existing authentication-mechanism element will be returned.

Returns:
the instance defined for the element authentication-mechanism

createAuthenticationMechanism

AuthenticationMechanism<Resourceadapter<T>> createAuthenticationMechanism()
Creates a new authentication-mechanism element

Returns:
the new created instance of AuthenticationMechanism>

getAllAuthenticationMechanism

List<AuthenticationMechanism<Resourceadapter<T>>> getAllAuthenticationMechanism()
Returns all authentication-mechanism elements

Returns:
list of authentication-mechanism

removeAllAuthenticationMechanism

Resourceadapter<T> removeAllAuthenticationMechanism()
Removes all authentication-mechanism elements

Returns:
the current instance of AuthenticationMechanism>

managedconnectionfactoryClass

Resourceadapter<T> managedconnectionfactoryClass(String managedconnectionfactoryClass)
Sets the managedconnectionfactory-class element

Parameters:
managedconnectionfactoryClass - the value for the element managedconnectionfactory-class
Returns:
the current instance of Resourceadapter

getManagedconnectionfactoryClass

String getManagedconnectionfactoryClass()
Returns the managedconnectionfactory-class element

Returns:
the node defined for the element managedconnectionfactory-class

removeManagedconnectionfactoryClass

Resourceadapter<T> removeManagedconnectionfactoryClass()
Removes the managedconnectionfactory-class element

Returns:
the current instance of Resourceadapter

connectionfactoryImplClass

Resourceadapter<T> connectionfactoryImplClass(String connectionfactoryImplClass)
Sets the connectionfactory-impl-class element

Parameters:
connectionfactoryImplClass - the value for the element connectionfactory-impl-class
Returns:
the current instance of Resourceadapter

getConnectionfactoryImplClass

String getConnectionfactoryImplClass()
Returns the connectionfactory-impl-class element

Returns:
the node defined for the element connectionfactory-impl-class

removeConnectionfactoryImplClass

Resourceadapter<T> removeConnectionfactoryImplClass()
Removes the connectionfactory-impl-class element

Returns:
the current instance of Resourceadapter

transactionSupport

Resourceadapter<T> transactionSupport(String transactionSupport)
Sets the transaction-support element

Parameters:
transactionSupport - the value for the element transaction-support
Returns:
the current instance of Resourceadapter

getTransactionSupport

String getTransactionSupport()
Returns the transaction-support element

Returns:
the node defined for the element transaction-support

removeTransactionSupport

Resourceadapter<T> removeTransactionSupport()
Removes the transaction-support element

Returns:
the current instance of Resourceadapter

getOrCreateSecurityPermission

SecurityPermission<Resourceadapter<T>> getOrCreateSecurityPermission()
If not already created, a new security-permission element will be created and returned. Otherwise, the first existing security-permission element will be returned.

Returns:
the instance defined for the element security-permission

createSecurityPermission

SecurityPermission<Resourceadapter<T>> createSecurityPermission()
Creates a new security-permission element

Returns:
the new created instance of SecurityPermission>

getAllSecurityPermission

List<SecurityPermission<Resourceadapter<T>>> getAllSecurityPermission()
Returns all security-permission elements

Returns:
list of security-permission

removeAllSecurityPermission

Resourceadapter<T> removeAllSecurityPermission()
Removes all security-permission elements

Returns:
the current instance of SecurityPermission>

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.