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, getExporter
exportAsString, getDescriptorName
public 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.NodeDescriptor
public IronjacamarDescriptor addDefaultNamespaces()
addDefaultNamespaces
in interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<IronjacamarDescriptor>
IronjacamarDescriptor
public IronjacamarDescriptor addNamespace(String name, String value)
addNamespace
in interface org.jboss.shrinkwrap.descriptor.api.DescriptorNamespace<IronjacamarDescriptor>
IronjacamarDescriptor
public 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>
IronjacamarDescriptor
public 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 IronjacamarDescriptor
BeanValidationGroupsType
public IronjacamarDescriptor removeBeanValidationGroups()
bean-validation-groups
elementremoveBeanValidationGroups
in interface IronjacamarDescriptor
IronjacamarDescriptor
public IronjacamarDescriptor bootstrapContext(String bootstrapContext)
bootstrap-context
elementbootstrapContext
in interface IronjacamarDescriptor
bootstrapContext
- the value for the element bootstrap-context
IronjacamarDescriptor
public String getBootstrapContext()
bootstrap-context
elementgetBootstrapContext
in interface IronjacamarDescriptor
bootstrap-context
public IronjacamarDescriptor removeBootstrapContext()
bootstrap-context
elementremoveBootstrapContext
in interface IronjacamarDescriptor
IronjacamarDescriptor
public ConfigPropertyType<IronjacamarDescriptor> getOrCreateConfigProperty()
config-property
element will be created and returned.
Otherwise, the first existing config-property
element will be returned.getOrCreateConfigProperty
in interface IronjacamarDescriptor
config-property
public ConfigPropertyType<IronjacamarDescriptor> createConfigProperty()
config-property
elementcreateConfigProperty
in interface IronjacamarDescriptor
ConfigPropertyType
public List<ConfigPropertyType<IronjacamarDescriptor>> getAllConfigProperty()
config-property
elementsgetAllConfigProperty
in interface IronjacamarDescriptor
config-property
public IronjacamarDescriptor removeAllConfigProperty()
config-property
elementsremoveAllConfigProperty
in interface IronjacamarDescriptor
ConfigPropertyType
public IronjacamarDescriptor transactionSupport(TransactionSupportType transactionSupport)
transaction-support
elementtransactionSupport
in interface IronjacamarDescriptor
transactionSupport
- the value for the element transaction-support
IronjacamarDescriptor
public IronjacamarDescriptor transactionSupport(String transactionSupport)
transaction-support
elementtransactionSupport
in interface IronjacamarDescriptor
transactionSupport
- the value for the element transaction-support
IronjacamarDescriptor
public TransactionSupportType getTransactionSupport()
transaction-support
elementgetTransactionSupport
in interface IronjacamarDescriptor
transaction-support
public String getTransactionSupportAsString()
transaction-support
elementgetTransactionSupportAsString
in interface IronjacamarDescriptor
transaction-support
public IronjacamarDescriptor removeTransactionSupport()
transaction-support
attributeremoveTransactionSupport
in interface IronjacamarDescriptor
IronjacamarDescriptor
public WorkmanagerType<IronjacamarDescriptor> getOrCreateWorkmanager()
workmanager
element with the given value will be created.
Otherwise, the existing workmanager
element will be returned.getOrCreateWorkmanager
in interface IronjacamarDescriptor
WorkmanagerType
public IronjacamarDescriptor removeWorkmanager()
workmanager
elementremoveWorkmanager
in interface IronjacamarDescriptor
IronjacamarDescriptor
public 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 IronjacamarDescriptor
ConnectionDefinitionsType
public IronjacamarDescriptor removeConnectionDefinitions()
connection-definitions
elementremoveConnectionDefinitions
in interface IronjacamarDescriptor
IronjacamarDescriptor
public 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 IronjacamarDescriptor
AdminObjectsType
public IronjacamarDescriptor removeAdminObjects()
admin-objects
elementremoveAdminObjects
in interface IronjacamarDescriptor
IronjacamarDescriptor
Copyright © 2021 JBoss by Red Hat. All rights reserved.