|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.spi.DescriptorImplBase<org.jboss.shrinkwrap.descriptor.spi.node.NodeDescriptor>
org.jboss.shrinkwrap.descriptor.spi.node.NodeDescriptorImplBase
org.jboss.ironjacamar.impl.IronjacamarDescriptorImpl
public class IronjacamarDescriptorImpl
This deployment descriptor provides the functionalities as described in the specification
Example:
IronjacamarDescriptor descriptor = Descriptors.create(IronjacamarDescriptor.class);
Constructor Summary | |
---|---|
IronjacamarDescriptorImpl(String descriptorName)
|
|
IronjacamarDescriptorImpl(String descriptorName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node)
|
Method Summary | |
---|---|
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. |
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 |
transactionSupport(String transactionSupport)
Sets the transaction-support element |
IronjacamarDescriptor |
transactionSupport(TransactionSupportType transactionSupport)
Sets the transaction-support element |
Methods inherited from class org.jboss.shrinkwrap.descriptor.spi.node.NodeDescriptorImplBase |
---|
exportTo, getExporter |
Methods inherited from class org.jboss.shrinkwrap.descriptor.spi.DescriptorImplBase |
---|
exportAsString, getDescriptorName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Descriptor |
---|
exportAsString, exportTo, getDescriptorName |
Constructor Detail |
---|
public IronjacamarDescriptorImpl(String descriptorName)
public IronjacamarDescriptorImpl(String descriptorName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
Method Detail |
---|
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 DescriptorNamespace<IronjacamarDescriptor>
IronjacamarDescriptor
public IronjacamarDescriptor addNamespace(String name, String value)
addNamespace
in interface DescriptorNamespace<IronjacamarDescriptor>
name
- the name of the namespacevalue
- the value of the namespace
IronjacamarDescriptor
public List<String> getNamespaces()
getNamespaces
in interface DescriptorNamespace<IronjacamarDescriptor>
public IronjacamarDescriptor removeAllNamespaces()
removeAllNamespaces
in interface 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
element
removeBeanValidationGroups
in interface IronjacamarDescriptor
IronjacamarDescriptor
public IronjacamarDescriptor bootstrapContext(String bootstrapContext)
bootstrap-context
element
bootstrapContext
in interface IronjacamarDescriptor
bootstrapContext
- the value for the element bootstrap-context
IronjacamarDescriptor
public String getBootstrapContext()
bootstrap-context
element
getBootstrapContext
in interface IronjacamarDescriptor
bootstrap-context
public IronjacamarDescriptor removeBootstrapContext()
bootstrap-context
element
removeBootstrapContext
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
element
createConfigProperty
in interface IronjacamarDescriptor
ConfigPropertyType
public List<ConfigPropertyType<IronjacamarDescriptor>> getAllConfigProperty()
config-property
elements
getAllConfigProperty
in interface IronjacamarDescriptor
config-property
public IronjacamarDescriptor removeAllConfigProperty()
config-property
elements
removeAllConfigProperty
in interface IronjacamarDescriptor
ConfigPropertyType
public IronjacamarDescriptor transactionSupport(TransactionSupportType transactionSupport)
transaction-support
element
transactionSupport
in interface IronjacamarDescriptor
transactionSupport
- the value for the element transaction-support
IronjacamarDescriptor
public IronjacamarDescriptor transactionSupport(String transactionSupport)
transaction-support
element
transactionSupport
in interface IronjacamarDescriptor
transactionSupport
- the value for the element transaction-support
IronjacamarDescriptor
public TransactionSupportType getTransactionSupport()
transaction-support
element
getTransactionSupport
in interface IronjacamarDescriptor
transaction-support
public String getTransactionSupportAsString()
transaction-support
element
getTransactionSupportAsString
in interface IronjacamarDescriptor
transaction-support
public IronjacamarDescriptor removeTransactionSupport()
transaction-support
attribute
removeTransactionSupport
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
element
removeConnectionDefinitions
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
element
removeAdminObjects
in interface IronjacamarDescriptor
IronjacamarDescriptor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |