Class WorkmanagerTypeImpl<T>
- java.lang.Object
-
- org.jboss.jca.embedded.dsl.resourceadapters13.impl.WorkmanagerTypeImpl<T>
-
- All Implemented Interfaces:
WorkmanagerType<T>,org.jboss.shrinkwrap.descriptor.api.Child<T>
public class WorkmanagerTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, WorkmanagerType<T>
This class implements theworkmanagerTypexsd type
-
-
Constructor Summary
Constructors Constructor Description WorkmanagerTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)WorkmanagerTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkmanagerSecurityType<WorkmanagerType<T>>getOrCreateSecurity()If not already created, a newsecurityelement with the given value will be created.WorkmanagerType<T>removeSecurity()Removes thesecurityelementTup()
-
-
-
Method Detail
-
getOrCreateSecurity
public WorkmanagerSecurityType<WorkmanagerType<T>> getOrCreateSecurity()
If not already created, a newsecurityelement with the given value will be created. Otherwise, the existingsecurityelement will be returned.- Specified by:
getOrCreateSecurityin interfaceWorkmanagerType<T>- Returns:
- a new or existing instance of
WorkmanagerSecurityType>
-
removeSecurity
public WorkmanagerType<T> removeSecurity()
Removes thesecurityelement- Specified by:
removeSecurityin interfaceWorkmanagerType<T>- Returns:
- the current instance of
WorkmanagerType
-
-