Interface IronjacamarType<T>
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
IronjacamarTypeImpl
public interface IronjacamarType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the
ironjacamarType xsd type-
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.If not already created, a newworkmanagerelement with the given value will be created.Returns thetransaction-supportelementReturns thetransaction-supportelementRemoves theadmin-objectselementRemoves allconfig-propertyelementsRemoves thebean-validation-groupselementRemoves thebootstrap-contextelementRemoves theconnection-definitionselementRemoves thetransaction-supportattributeRemoves theworkmanagerelementtransactionSupport(String transactionSupport) Sets thetransaction-supportelementtransactionSupport(TransactionSupportType transactionSupport) Sets thetransaction-supportelementMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
getOrCreateBeanValidationGroups
BeanValidationGroupsType<IronjacamarType<T>> 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<IronjacamarType>
-
removeBeanValidationGroups
IronjacamarType<T> removeBeanValidationGroups()Removes thebean-validation-groupselement- Returns:
- the current instance of
IronjacamarType
-
bootstrapContext
Sets thebootstrap-contextelement- Parameters:
bootstrapContext- the value for the elementbootstrap-context- Returns:
- the current instance of
IronjacamarType
-
getBootstrapContext
String getBootstrapContext()Returns thebootstrap-contextelement- Returns:
- the node defined for the element
bootstrap-context
-
removeBootstrapContext
IronjacamarType<T> removeBootstrapContext()Removes thebootstrap-contextelement- Returns:
- the current instance of
IronjacamarType
-
getOrCreateConfigProperty
ConfigPropertyType<IronjacamarType<T>> 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<IronjacamarType<T>> createConfigProperty()Creates a newconfig-propertyelement- Returns:
- the new created instance of
ConfigPropertyType<IronjacamarType>
-
getAllConfigProperty
List<ConfigPropertyType<IronjacamarType<T>>> getAllConfigProperty()Returns allconfig-propertyelements- Returns:
- list of
config-property
-
removeAllConfigProperty
IronjacamarType<T> removeAllConfigProperty()Removes allconfig-propertyelements- Returns:
- the current instance of
ConfigPropertyType<IronjacamarType>
-
transactionSupport
Sets thetransaction-supportelement- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
IronjacamarType
-
transactionSupport
Sets thetransaction-supportelement- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
IronjacamarType
-
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
IronjacamarType<T> removeTransactionSupport()Removes thetransaction-supportattribute- Returns:
- the current instance of
IronjacamarType
-
getOrCreateWorkmanager
WorkmanagerType<IronjacamarType<T>> getOrCreateWorkmanager()If not already created, a newworkmanagerelement with the given value will be created. Otherwise, the existingworkmanagerelement will be returned.- Returns:
- a new or existing instance of
WorkmanagerType<IronjacamarType>
-
removeWorkmanager
IronjacamarType<T> removeWorkmanager()Removes theworkmanagerelement- Returns:
- the current instance of
IronjacamarType
-
getOrCreateConnectionDefinitions
ConnectionDefinitionsType<IronjacamarType<T>> 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<IronjacamarType>
-
removeConnectionDefinitions
IronjacamarType<T> removeConnectionDefinitions()Removes theconnection-definitionselement- Returns:
- the current instance of
IronjacamarType
-
getOrCreateAdminObjects
AdminObjectsType<IronjacamarType<T>> 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<IronjacamarType>
-
removeAdminObjects
IronjacamarType<T> removeAdminObjects()Removes theadmin-objectselement- Returns:
- the current instance of
IronjacamarType
-