Class IronjacamarDescriptorImpl
java.lang.Object
org.jboss.shrinkwrap.descriptor.spi.DescriptorImplBase<org.jboss.shrinkwrap.descriptor.spi.node.NodeDescriptor>
org.jboss.shrinkwrap.descriptor.spi.node.NodeDescriptorImplBase
org.jboss.jca.embedded.dsl.ironjacamar12.impl.IronjacamarDescriptorImpl
- All Implemented Interfaces:
IronjacamarDescriptor,org.jboss.shrinkwrap.descriptor.api.Descriptor,org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<IronjacamarDescriptor>,org.jboss.shrinkwrap.descriptor.spi.node.NodeDescriptor
public class IronjacamarDescriptorImpl
extends org.jboss.shrinkwrap.descriptor.spi.node.NodeDescriptorImplBase
implements org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<IronjacamarDescriptor>, IronjacamarDescriptor
This deployment descriptor provides the functionalities as described in the specification
Example:
IronjacamarDescriptor descriptor = Descriptors.create(IronjacamarDescriptor.class);
-
Constructor Summary
ConstructorsConstructorDescriptionIronjacamarDescriptorImpl(String descriptorName) IronjacamarDescriptorImpl(String descriptorName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) -
Method Summary
Modifier and TypeMethodDescriptionAdds the default namespaces as defined in the specificationaddNamespace(String name, String value) Adds a new namespacebootstrapContext(String bootstrapContext) Sets thebootstrap-contextelementCreates a newconfig-propertyelementReturns allconfig-propertyelementsReturns thebootstrap-contextelementReturns all defined namespaces.If 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.If not already created, a newworkmanagerelement with the given value will be created.org.jboss.shrinkwrap.descriptor.spi.node.NodeReturns thetransaction-supportelementReturns thetransaction-supportelementRemoves theadmin-objectselementRemoves allconfig-propertyelementsRemoves all existing namespaces.Removes thebean-validation-groupselementRemoves thebootstrap-contextelementRemoves theconnection-definitionselementRemoves thetransaction-supportattributeRemoves theworkmanagerelementtransactionSupport(String transactionSupport) Sets thetransaction-supportelementtransactionSupport(TransactionSupportType transactionSupport) Sets thetransaction-supportelementMethods inherited from class org.jboss.shrinkwrap.descriptor.spi.node.NodeDescriptorImplBase
exportTo, getExporterMethods inherited from class org.jboss.shrinkwrap.descriptor.spi.DescriptorImplBase
exportAsString, getDescriptorNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Descriptor
exportAsString, exportTo, getDescriptorName
-
Constructor Details
-
IronjacamarDescriptorImpl
-
IronjacamarDescriptorImpl
public IronjacamarDescriptorImpl(String descriptorName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
-
-
Method Details
-
getRootNode
public org.jboss.shrinkwrap.descriptor.spi.node.Node getRootNode()- Specified by:
getRootNodein interfaceorg.jboss.shrinkwrap.descriptor.spi.node.NodeDescriptor
-
addDefaultNamespaces
Adds the default namespaces as defined in the specification- Specified by:
addDefaultNamespacesin interfaceorg.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<IronjacamarDescriptor>- Returns:
- the current instance of
IronjacamarDescriptor
-
addNamespace
Adds a new namespace- Specified by:
addNamespacein interfaceorg.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<IronjacamarDescriptor>- Returns:
- the current instance of
IronjacamarDescriptor
-
getNamespaces
Returns all defined namespaces.- Specified by:
getNamespacesin interfaceorg.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<IronjacamarDescriptor>- Returns:
- all defined namespaces
-
removeAllNamespaces
Removes all existing namespaces.- Specified by:
removeAllNamespacesin interfaceorg.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<IronjacamarDescriptor>- Returns:
- the current instance of
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.- Specified by:
getOrCreateBeanValidationGroupsin interfaceIronjacamarDescriptor- Returns:
- a new or existing instance of
BeanValidationGroupsType
-
removeBeanValidationGroups
Removes thebean-validation-groupselement- Specified by:
removeBeanValidationGroupsin interfaceIronjacamarDescriptor- Returns:
- the current instance of
IronjacamarDescriptor
-
bootstrapContext
Sets thebootstrap-contextelement- Specified by:
bootstrapContextin interfaceIronjacamarDescriptor- Parameters:
bootstrapContext- the value for the elementbootstrap-context- Returns:
- the current instance of
IronjacamarDescriptor
-
getBootstrapContext
Returns thebootstrap-contextelement- Specified by:
getBootstrapContextin interfaceIronjacamarDescriptor- Returns:
- the node defined for the element
bootstrap-context
-
removeBootstrapContext
Removes thebootstrap-contextelement- Specified by:
removeBootstrapContextin interfaceIronjacamarDescriptor- Returns:
- the current instance of
IronjacamarDescriptor
-
getOrCreateConfigProperty
If not already created, a newconfig-propertyelement will be created and returned. Otherwise, the first existingconfig-propertyelement will be returned.- Specified by:
getOrCreateConfigPropertyin interfaceIronjacamarDescriptor- Returns:
- the instance defined for the element
config-property
-
createConfigProperty
Creates a newconfig-propertyelement- Specified by:
createConfigPropertyin interfaceIronjacamarDescriptor- Returns:
- the new created instance of
ConfigPropertyType
-
getAllConfigProperty
Returns allconfig-propertyelements- Specified by:
getAllConfigPropertyin interfaceIronjacamarDescriptor- Returns:
- list of
config-property
-
removeAllConfigProperty
Removes allconfig-propertyelements- Specified by:
removeAllConfigPropertyin interfaceIronjacamarDescriptor- Returns:
- the current instance of
ConfigPropertyType
-
transactionSupport
Sets thetransaction-supportelement- Specified by:
transactionSupportin interfaceIronjacamarDescriptor- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
IronjacamarDescriptor
-
transactionSupport
Sets thetransaction-supportelement- Specified by:
transactionSupportin interfaceIronjacamarDescriptor- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
IronjacamarDescriptor
-
getTransactionSupport
Returns thetransaction-supportelement- Specified by:
getTransactionSupportin interfaceIronjacamarDescriptor- Returns:
- the value found for the element
transaction-support
-
getTransactionSupportAsString
Returns thetransaction-supportelement- Specified by:
getTransactionSupportAsStringin interfaceIronjacamarDescriptor- Returns:
- the value found for the element
transaction-support
-
removeTransactionSupport
Removes thetransaction-supportattribute- Specified by:
removeTransactionSupportin interfaceIronjacamarDescriptor- Returns:
- the current instance of
IronjacamarDescriptor
-
getOrCreateWorkmanager
If not already created, a newworkmanagerelement with the given value will be created. Otherwise, the existingworkmanagerelement will be returned.- Specified by:
getOrCreateWorkmanagerin interfaceIronjacamarDescriptor- Returns:
- a new or existing instance of
WorkmanagerType
-
removeWorkmanager
Removes theworkmanagerelement- Specified by:
removeWorkmanagerin interfaceIronjacamarDescriptor- Returns:
- the current instance of
IronjacamarDescriptor
-
getOrCreateConnectionDefinitions
If not already created, a newconnection-definitionselement with the given value will be created. Otherwise, the existingconnection-definitionselement will be returned.- Specified by:
getOrCreateConnectionDefinitionsin interfaceIronjacamarDescriptor- Returns:
- a new or existing instance of
ConnectionDefinitionsType
-
removeConnectionDefinitions
Removes theconnection-definitionselement- Specified by:
removeConnectionDefinitionsin interfaceIronjacamarDescriptor- Returns:
- the current instance of
IronjacamarDescriptor
-
getOrCreateAdminObjects
If not already created, a newadmin-objectselement with the given value will be created. Otherwise, the existingadmin-objectselement will be returned.- Specified by:
getOrCreateAdminObjectsin interfaceIronjacamarDescriptor- Returns:
- a new or existing instance of
AdminObjectsType
-
removeAdminObjects
Removes theadmin-objectselement- Specified by:
removeAdminObjectsin interfaceIronjacamarDescriptor- Returns:
- the current instance of
IronjacamarDescriptor
-