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 and Description |
|---|
IronjacamarDescriptorImpl(String descriptorName) |
IronjacamarDescriptorImpl(String descriptorName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node) |
| Modifier and Type | Method and Description |
|---|---|
IronjacamarDescriptor |
addDefaultNamespaces()
Adds the default namespaces as defined in the specification
|
IronjacamarDescriptor |
addNamespace(String name,
String value)
Adds a new namespace
|
IronjacamarDescriptor |
bootstrapContext(String bootstrapContext)
Sets the
bootstrap-context element |
ConfigPropertyType<IronjacamarDescriptor> |
createConfigProperty()
Creates a new
config-property element |
List<ConfigPropertyType<IronjacamarDescriptor>> |
getAllConfigProperty()
Returns all
config-property elements |
String |
getBootstrapContext()
Returns the
bootstrap-context element |
List<String> |
getNamespaces()
Returns all defined namespaces.
|
AdminObjectsType<IronjacamarDescriptor> |
getOrCreateAdminObjects()
If not already created, a new
admin-objects element with the given value will be created. |
BeanValidationGroupsType<IronjacamarDescriptor> |
getOrCreateBeanValidationGroups()
If not already created, a new
bean-validation-groups element with the given value will be created. |
ConfigPropertyType<IronjacamarDescriptor> |
getOrCreateConfigProperty()
If not already created, a new
config-property element will be created and returned. |
ConnectionDefinitionsType<IronjacamarDescriptor> |
getOrCreateConnectionDefinitions()
If not already created, a new
connection-definitions element with the given value will be created. |
WorkmanagerType<IronjacamarDescriptor> |
getOrCreateWorkmanager()
If not already created, a new
workmanager element with the given value will be created. |
org.jboss.shrinkwrap.descriptor.spi.node.Node |
getRootNode() |
TransactionSupportType |
getTransactionSupport()
Returns the
transaction-support element |
String |
getTransactionSupportAsString()
Returns the
transaction-support element |
IronjacamarDescriptor |
removeAdminObjects()
Removes the
admin-objects element |
IronjacamarDescriptor |
removeAllConfigProperty()
Removes all
config-property elements |
IronjacamarDescriptor |
removeAllNamespaces()
Removes all existing namespaces.
|
IronjacamarDescriptor |
removeBeanValidationGroups()
Removes the
bean-validation-groups element |
IronjacamarDescriptor |
removeBootstrapContext()
Removes the
bootstrap-context element |
IronjacamarDescriptor |
removeConnectionDefinitions()
Removes the
connection-definitions element |
IronjacamarDescriptor |
removeTransactionSupport()
Removes the
transaction-support attribute |
IronjacamarDescriptor |
removeWorkmanager()
Removes the
workmanager element |
IronjacamarDescriptor |
transactionSupport(String transactionSupport)
Sets the
transaction-support element |
IronjacamarDescriptor |
transactionSupport(TransactionSupportType transactionSupport)
Sets the
transaction-support element |
exportTo, getExporterexportAsString, getDescriptorNamepublic IronjacamarDescriptorImpl(String descriptorName)
public IronjacamarDescriptorImpl(String descriptorName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public org.jboss.shrinkwrap.descriptor.spi.node.Node getRootNode()
getRootNode in interface org.jboss.shrinkwrap.descriptor.spi.node.NodeDescriptorpublic IronjacamarDescriptor addDefaultNamespaces()
addDefaultNamespaces in interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<IronjacamarDescriptor>IronjacamarDescriptorpublic IronjacamarDescriptor addNamespace(String name, String value)
addNamespace in interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<IronjacamarDescriptor>IronjacamarDescriptorpublic List<String> getNamespaces()
getNamespaces in interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<IronjacamarDescriptor>public IronjacamarDescriptor removeAllNamespaces()
removeAllNamespaces in interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<IronjacamarDescriptor>IronjacamarDescriptorpublic BeanValidationGroupsType<IronjacamarDescriptor> getOrCreateBeanValidationGroups()
bean-validation-groups element with the given value will be created.
Otherwise, the existing bean-validation-groups element will be returned.getOrCreateBeanValidationGroups in interface IronjacamarDescriptorBeanValidationGroupsTypepublic IronjacamarDescriptor removeBeanValidationGroups()
bean-validation-groups elementremoveBeanValidationGroups in interface IronjacamarDescriptorIronjacamarDescriptorpublic IronjacamarDescriptor bootstrapContext(String bootstrapContext)
bootstrap-context elementbootstrapContext in interface IronjacamarDescriptorbootstrapContext - the value for the element bootstrap-contextIronjacamarDescriptorpublic String getBootstrapContext()
bootstrap-context elementgetBootstrapContext in interface IronjacamarDescriptorbootstrap-contextpublic IronjacamarDescriptor removeBootstrapContext()
bootstrap-context elementremoveBootstrapContext in interface IronjacamarDescriptorIronjacamarDescriptorpublic ConfigPropertyType<IronjacamarDescriptor> getOrCreateConfigProperty()
config-property element will be created and returned.
Otherwise, the first existing config-property element will be returned.getOrCreateConfigProperty in interface IronjacamarDescriptorconfig-propertypublic ConfigPropertyType<IronjacamarDescriptor> createConfigProperty()
config-property elementcreateConfigProperty in interface IronjacamarDescriptorConfigPropertyTypepublic List<ConfigPropertyType<IronjacamarDescriptor>> getAllConfigProperty()
config-property elementsgetAllConfigProperty in interface IronjacamarDescriptorconfig-propertypublic IronjacamarDescriptor removeAllConfigProperty()
config-property elementsremoveAllConfigProperty in interface IronjacamarDescriptorConfigPropertyTypepublic IronjacamarDescriptor transactionSupport(TransactionSupportType transactionSupport)
transaction-support elementtransactionSupport in interface IronjacamarDescriptortransactionSupport - the value for the element transaction-supportIronjacamarDescriptorpublic IronjacamarDescriptor transactionSupport(String transactionSupport)
transaction-support elementtransactionSupport in interface IronjacamarDescriptortransactionSupport - the value for the element transaction-supportIronjacamarDescriptorpublic TransactionSupportType getTransactionSupport()
transaction-support elementgetTransactionSupport in interface IronjacamarDescriptortransaction-supportpublic String getTransactionSupportAsString()
transaction-support elementgetTransactionSupportAsString in interface IronjacamarDescriptortransaction-supportpublic IronjacamarDescriptor removeTransactionSupport()
transaction-support attributeremoveTransactionSupport in interface IronjacamarDescriptorIronjacamarDescriptorpublic WorkmanagerType<IronjacamarDescriptor> getOrCreateWorkmanager()
workmanager element with the given value will be created.
Otherwise, the existing workmanager element will be returned.getOrCreateWorkmanager in interface IronjacamarDescriptorWorkmanagerTypepublic IronjacamarDescriptor removeWorkmanager()
workmanager elementremoveWorkmanager in interface IronjacamarDescriptorIronjacamarDescriptorpublic ConnectionDefinitionsType<IronjacamarDescriptor> getOrCreateConnectionDefinitions()
connection-definitions element with the given value will be created.
Otherwise, the existing connection-definitions element will be returned.getOrCreateConnectionDefinitions in interface IronjacamarDescriptorConnectionDefinitionsTypepublic IronjacamarDescriptor removeConnectionDefinitions()
connection-definitions elementremoveConnectionDefinitions in interface IronjacamarDescriptorIronjacamarDescriptorpublic AdminObjectsType<IronjacamarDescriptor> getOrCreateAdminObjects()
admin-objects element with the given value will be created.
Otherwise, the existing admin-objects element will be returned.getOrCreateAdminObjects in interface IronjacamarDescriptorAdminObjectsTypepublic IronjacamarDescriptor removeAdminObjects()
admin-objects elementremoveAdminObjects in interface IronjacamarDescriptorIronjacamarDescriptorCopyright © 2021 JBoss by Red Hat. All rights reserved.