Class MessagelistenerTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.connector17.MessagelistenerTypeImpl<T>
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,MessagelistenerType<T>
public class MessagelistenerTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, MessagelistenerType<T>
This class implements the
messagelistenerType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionMessagelistenerTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) MessagelistenerTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) -
Method Summary
Modifier and TypeMethodDescriptiongetId()Returns theidattributeReturns themessagelistener-typeelementIf not already created, a newactivationspecelement with the given value will be created.Sets theidattributemessagelistenerType(String messagelistenerType) Sets themessagelistener-typeelementRemoves theactivationspecelementremoveId()Removes theidattributeRemoves themessagelistener-typeelementup()
-
Constructor Details
-
MessagelistenerTypeImpl
-
MessagelistenerTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
messagelistenerType
Sets themessagelistener-typeelement- Specified by:
messagelistenerTypein interfaceMessagelistenerType<T>- Parameters:
messagelistenerType- the value for the elementmessagelistener-type- Returns:
- the current instance of
MessagelistenerType
-
getMessagelistenerType
Returns themessagelistener-typeelement- Specified by:
getMessagelistenerTypein interfaceMessagelistenerType<T>- Returns:
- the node defined for the element
messagelistener-type
-
removeMessagelistenerType
Removes themessagelistener-typeelement- Specified by:
removeMessagelistenerTypein interfaceMessagelistenerType<T>- Returns:
- the current instance of
MessagelistenerType
-
getOrCreateActivationspec
If not already created, a newactivationspecelement with the given value will be created. Otherwise, the existingactivationspecelement will be returned.- Specified by:
getOrCreateActivationspecin interfaceMessagelistenerType<T>- Returns:
- a new or existing instance of
ActivationspecType<MessagelistenerType>
-
removeActivationspec
Removes theactivationspecelement- Specified by:
removeActivationspecin interfaceMessagelistenerType<T>- Returns:
- the current instance of
MessagelistenerType
-
id
Sets theidattribute- Specified by:
idin interfaceMessagelistenerType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
MessagelistenerType
-
getId
Returns theidattribute- Specified by:
getIdin interfaceMessagelistenerType<T>- Returns:
- the value defined for the attribute
id
-
removeId
Removes theidattribute- Specified by:
removeIdin interfaceMessagelistenerType<T>- Returns:
- the current instance of
MessagelistenerType
-