Interface IronjacamarDescriptor
-
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Descriptor,org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<IronjacamarDescriptor>
- All Known Implementing Classes:
IronjacamarDescriptorImpl
public interface IronjacamarDescriptor extends org.jboss.shrinkwrap.descriptor.api.Descriptor, org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<IronjacamarDescriptor>
This deployment descriptor provides the functionalities as described in the specification
Example:
IronjacamarDescriptor descriptor = Descriptors.create(IronjacamarDescriptor.class);
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IronjacamarDescriptorbootstrapContext(String bootstrapContext)Sets thebootstrap-contextelementConfigPropertyType<IronjacamarDescriptor>createConfigProperty()Creates a newconfig-propertyelementList<ConfigPropertyType<IronjacamarDescriptor>>getAllConfigProperty()Returns allconfig-propertyelementsStringgetBootstrapContext()Returns thebootstrap-contextelementAdminObjectsType<IronjacamarDescriptor>getOrCreateAdminObjects()If not already created, a newadmin-objectselement with the given value will be created.BeanValidationGroupsType<IronjacamarDescriptor>getOrCreateBeanValidationGroups()If not already created, a newbean-validation-groupselement with the given value will be created.ConfigPropertyType<IronjacamarDescriptor>getOrCreateConfigProperty()If not already created, a newconfig-propertyelement will be created and returned.ConnectionDefinitionsType<IronjacamarDescriptor>getOrCreateConnectionDefinitions()If not already created, a newconnection-definitionselement with the given value will be created.WorkmanagerType<IronjacamarDescriptor>getOrCreateWorkmanager()If not already created, a newworkmanagerelement with the given value will be created.TransactionSupportTypegetTransactionSupport()Returns thetransaction-supportelementStringgetTransactionSupportAsString()Returns thetransaction-supportelementIronjacamarDescriptorremoveAdminObjects()Removes theadmin-objectselementIronjacamarDescriptorremoveAllConfigProperty()Removes allconfig-propertyelementsIronjacamarDescriptorremoveBeanValidationGroups()Removes thebean-validation-groupselementIronjacamarDescriptorremoveBootstrapContext()Removes thebootstrap-contextelementIronjacamarDescriptorremoveConnectionDefinitions()Removes theconnection-definitionselementIronjacamarDescriptorremoveTransactionSupport()Removes thetransaction-supportattributeIronjacamarDescriptorremoveWorkmanager()Removes theworkmanagerelementIronjacamarDescriptortransactionSupport(String transactionSupport)Sets thetransaction-supportelementIronjacamarDescriptortransactionSupport(TransactionSupportType transactionSupport)Sets thetransaction-supportelement
-
-
-
Method Detail
-
getOrCreateBeanValidationGroups
BeanValidationGroupsType<IronjacamarDescriptor> getOrCreateBeanValidationGroups()
If not already created, a newbean-validation-groupselement with the given value will be created. Otherwise, the existingbean-validation-groupselement will be returned.- Returns:
- a new or existing instance of
BeanValidationGroupsType
-
removeBeanValidationGroups
IronjacamarDescriptor removeBeanValidationGroups()
Removes thebean-validation-groupselement- Returns:
- the current instance of
IronjacamarDescriptor
-
bootstrapContext
IronjacamarDescriptor bootstrapContext(String bootstrapContext)
Sets thebootstrap-contextelement- Parameters:
bootstrapContext- the value for the elementbootstrap-context- Returns:
- the current instance of
IronjacamarDescriptor
-
getBootstrapContext
String getBootstrapContext()
Returns thebootstrap-contextelement- Returns:
- the node defined for the element
bootstrap-context
-
removeBootstrapContext
IronjacamarDescriptor removeBootstrapContext()
Removes thebootstrap-contextelement- Returns:
- the current instance of
IronjacamarDescriptor
-
getOrCreateConfigProperty
ConfigPropertyType<IronjacamarDescriptor> 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
ConfigPropertyType<IronjacamarDescriptor> createConfigProperty()
Creates a newconfig-propertyelement- Returns:
- the new created instance of
ConfigPropertyType
-
getAllConfigProperty
List<ConfigPropertyType<IronjacamarDescriptor>> getAllConfigProperty()
Returns allconfig-propertyelements- Returns:
- list of
config-property
-
removeAllConfigProperty
IronjacamarDescriptor removeAllConfigProperty()
Removes allconfig-propertyelements- Returns:
- the current instance of
ConfigPropertyType
-
transactionSupport
IronjacamarDescriptor transactionSupport(TransactionSupportType transactionSupport)
Sets thetransaction-supportelement- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
IronjacamarDescriptor
-
transactionSupport
IronjacamarDescriptor transactionSupport(String transactionSupport)
Sets thetransaction-supportelement- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
IronjacamarDescriptor
-
getTransactionSupport
TransactionSupportType getTransactionSupport()
Returns thetransaction-supportelement- Returns:
- the value found for the element
transaction-support
-
getTransactionSupportAsString
String getTransactionSupportAsString()
Returns thetransaction-supportelement- Returns:
- the value found for the element
transaction-support
-
removeTransactionSupport
IronjacamarDescriptor removeTransactionSupport()
Removes thetransaction-supportattribute- Returns:
- the current instance of
IronjacamarDescriptor
-
getOrCreateWorkmanager
WorkmanagerType<IronjacamarDescriptor> getOrCreateWorkmanager()
If not already created, a newworkmanagerelement with the given value will be created. Otherwise, the existingworkmanagerelement will be returned.- Returns:
- a new or existing instance of
WorkmanagerType
-
removeWorkmanager
IronjacamarDescriptor removeWorkmanager()
Removes theworkmanagerelement- Returns:
- the current instance of
IronjacamarDescriptor
-
getOrCreateConnectionDefinitions
ConnectionDefinitionsType<IronjacamarDescriptor> getOrCreateConnectionDefinitions()
If not already created, a newconnection-definitionselement with the given value will be created. Otherwise, the existingconnection-definitionselement will be returned.- Returns:
- a new or existing instance of
ConnectionDefinitionsType
-
removeConnectionDefinitions
IronjacamarDescriptor removeConnectionDefinitions()
Removes theconnection-definitionselement- Returns:
- the current instance of
IronjacamarDescriptor
-
getOrCreateAdminObjects
AdminObjectsType<IronjacamarDescriptor> getOrCreateAdminObjects()
If not already created, a newadmin-objectselement with the given value will be created. Otherwise, the existingadmin-objectselement will be returned.- Returns:
- a new or existing instance of
AdminObjectsType
-
removeAdminObjects
IronjacamarDescriptor removeAdminObjects()
Removes theadmin-objectselement- Returns:
- the current instance of
IronjacamarDescriptor
-
-