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 theironjacamarTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IronjacamarType<T>bootstrapContext(String bootstrapContext)Sets thebootstrap-contextelementConfigPropertyType<IronjacamarType<T>>createConfigProperty()Creates a newconfig-propertyelementList<ConfigPropertyType<IronjacamarType<T>>>getAllConfigProperty()Returns allconfig-propertyelementsStringgetBootstrapContext()Returns thebootstrap-contextelementAdminObjectsType<IronjacamarType<T>>getOrCreateAdminObjects()If not already created, a newadmin-objectselement with the given value will be created.BeanValidationGroupsType<IronjacamarType<T>>getOrCreateBeanValidationGroups()If not already created, a newbean-validation-groupselement with the given value will be created.ConfigPropertyType<IronjacamarType<T>>getOrCreateConfigProperty()If not already created, a newconfig-propertyelement will be created and returned.ConnectionDefinitionsType<IronjacamarType<T>>getOrCreateConnectionDefinitions()If not already created, a newconnection-definitionselement with the given value will be created.WorkmanagerType<IronjacamarType<T>>getOrCreateWorkmanager()If not already created, a newworkmanagerelement with the given value will be created.TransactionSupportTypegetTransactionSupport()Returns thetransaction-supportelementStringgetTransactionSupportAsString()Returns thetransaction-supportelementIronjacamarType<T>removeAdminObjects()Removes theadmin-objectselementIronjacamarType<T>removeAllConfigProperty()Removes allconfig-propertyelementsIronjacamarType<T>removeBeanValidationGroups()Removes thebean-validation-groupselementIronjacamarType<T>removeBootstrapContext()Removes thebootstrap-contextelementIronjacamarType<T>removeConnectionDefinitions()Removes theconnection-definitionselementIronjacamarType<T>removeTransactionSupport()Removes thetransaction-supportattributeIronjacamarType<T>removeWorkmanager()Removes theworkmanagerelementIronjacamarType<T>transactionSupport(String transactionSupport)Sets thetransaction-supportelementIronjacamarType<T>transactionSupport(TransactionSupportType transactionSupport)Sets thetransaction-supportelement
-
-
-
Method Detail
-
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>
-
removeBeanValidationGroups
IronjacamarType<T> removeBeanValidationGroups()
Removes thebean-validation-groupselement- Returns:
- the current instance of
IronjacamarType
-
bootstrapContext
IronjacamarType<T> bootstrapContext(String 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>
-
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>
-
transactionSupport
IronjacamarType<T> transactionSupport(TransactionSupportType transactionSupport)
Sets thetransaction-supportelement- Parameters:
transactionSupport- the value for the elementtransaction-support- Returns:
- the current instance of
IronjacamarType
-
transactionSupport
IronjacamarType<T> transactionSupport(String 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>
-
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>
-
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>
-
removeAdminObjects
IronjacamarType<T> removeAdminObjects()
Removes theadmin-objectselement- Returns:
- the current instance of
IronjacamarType
-
-