Class AdminObjectTypeImpl<T>
java.lang.Object
org.jboss.jca.embedded.dsl.resourceadapters13.impl.AdminObjectTypeImpl<T>
- All Implemented Interfaces:
AdminObjectType<T>,org.jboss.shrinkwrap.descriptor.api.Child<T>
public class AdminObjectTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, AdminObjectType<T>
This class implements the
admin-objectType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionAdminObjectTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) AdminObjectTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) -
Method Summary
Modifier and TypeMethodDescriptionSets theclass-nameattributeCreates a newconfig-propertyelementSets theenabledattributeReturns allconfig-propertyelementsReturns theclass-nameattributeReturns thejndi-nameattributeIf not already created, a newconfig-propertyelement will be created and returned.Returns thepool-nameattributeReturns theenabledattributeReturns theuse-java-contextattributeSets thejndi-nameattributeSets thepool-nameattributeRemoves allconfig-propertyelementsRemoves theclass-nameattributeRemoves theenabledattributeRemoves thejndi-nameattributeRemoves thepool-nameattributeRemoves theuse-java-contextattributeup()useJavaContext(Boolean useJavaContext) Sets theuse-java-contextattribute
-
Constructor Details
-
AdminObjectTypeImpl
-
AdminObjectTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
className
Sets theclass-nameattribute- Specified by:
classNamein interfaceAdminObjectType<T>- Parameters:
className- the value for the attributeclass-name- Returns:
- the current instance of
AdminObjectType
-
getClassName
Returns theclass-nameattribute- Specified by:
getClassNamein interfaceAdminObjectType<T>- Returns:
- the value defined for the attribute
class-name
-
removeClassName
Removes theclass-nameattribute- Specified by:
removeClassNamein interfaceAdminObjectType<T>- Returns:
- the current instance of
AdminObjectType
-
jndiName
Sets thejndi-nameattribute- Specified by:
jndiNamein interfaceAdminObjectType<T>- Parameters:
jndiName- the value for the attributejndi-name- Returns:
- the current instance of
AdminObjectType
-
getJndiName
Returns thejndi-nameattribute- Specified by:
getJndiNamein interfaceAdminObjectType<T>- Returns:
- the value defined for the attribute
jndi-name
-
removeJndiName
Removes thejndi-nameattribute- Specified by:
removeJndiNamein interfaceAdminObjectType<T>- Returns:
- the current instance of
AdminObjectType
-
enabled
Sets theenabledattribute- Specified by:
enabledin interfaceAdminObjectType<T>- Parameters:
enabled- the value for the attributeenabled- Returns:
- the current instance of
AdminObjectType
-
isEnabled
Returns theenabledattribute- Specified by:
isEnabledin interfaceAdminObjectType<T>- Returns:
- the value defined for the attribute
enabled
-
removeEnabled
Removes theenabledattribute- Specified by:
removeEnabledin interfaceAdminObjectType<T>- Returns:
- the current instance of
AdminObjectType
-
useJavaContext
Sets theuse-java-contextattribute- Specified by:
useJavaContextin interfaceAdminObjectType<T>- Parameters:
useJavaContext- the value for the attributeuse-java-context- Returns:
- the current instance of
AdminObjectType
-
isUseJavaContext
Returns theuse-java-contextattribute- Specified by:
isUseJavaContextin interfaceAdminObjectType<T>- Returns:
- the value defined for the attribute
use-java-context
-
removeUseJavaContext
Removes theuse-java-contextattribute- Specified by:
removeUseJavaContextin interfaceAdminObjectType<T>- Returns:
- the current instance of
AdminObjectType
-
poolName
Sets thepool-nameattribute- Specified by:
poolNamein interfaceAdminObjectType<T>- Parameters:
poolName- the value for the attributepool-name- Returns:
- the current instance of
AdminObjectType
-
getPoolName
Returns thepool-nameattribute- Specified by:
getPoolNamein interfaceAdminObjectType<T>- Returns:
- the value defined for the attribute
pool-name
-
removePoolName
Removes thepool-nameattribute- Specified by:
removePoolNamein interfaceAdminObjectType<T>- Returns:
- the current instance of
AdminObjectType
-
getOrCreateConfigProperty
If not already created, a newconfig-propertyelement will be created and returned. Otherwise, the first existingconfig-propertyelement will be returned.- Specified by:
getOrCreateConfigPropertyin interfaceAdminObjectType<T>- Returns:
- the instance defined for the element
config-property
-
createConfigProperty
Creates a newconfig-propertyelement- Specified by:
createConfigPropertyin interfaceAdminObjectType<T>- Returns:
- the new created instance of
ConfigPropertyType<AdminObjectType>
-
getAllConfigProperty
Returns allconfig-propertyelements- Specified by:
getAllConfigPropertyin interfaceAdminObjectType<T>- Returns:
- list of
config-property
-
removeAllConfigProperty
Removes allconfig-propertyelements- Specified by:
removeAllConfigPropertyin interfaceAdminObjectType<T>- Returns:
- the current instance of
ConfigPropertyType<AdminObjectType>
-