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
Modifier and TypeMethodDescriptionbootstrapContext(String bootstrapContext) Sets thebootstrap-contextelementCreates a newconfig-propertyelementReturns allconfig-propertyelementsReturns thebootstrap-contextelementIf not already created, a newadmin-objectselement with the given value will be created.If not already created, a newbean-validation-groupselement with the given value will be created.If not already created, a newconfig-propertyelement will be created and returned.If not already created, a newconnection-definitionselement with the given value will be created.Returns thetransaction-supportelementReturns thetransaction-supportelementRemoves theadmin-objectselementRemoves allconfig-propertyelementsRemoves thebean-validation-groupselementRemoves thebootstrap-contextelementRemoves theconnection-definitionselementRemoves thetransaction-supportattributetransactionSupport(String transactionSupport) Sets thetransaction-supportelementtransactionSupport(TransactionSupportType transactionSupport) Sets thetransaction-supportelementMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Descriptor
exportAsString, exportTo, getDescriptorNameMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace
addDefaultNamespaces, addNamespace, getNamespaces, removeAllNamespaces
-
Method Details
-
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
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
Sets thetransaction-supportelement- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
IronjacamarDescriptor
-
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
-
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
-