Interface MessagelistenerType<T>
-
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
MessagelistenerTypeImpl
public interface MessagelistenerType<T> extends org.jboss.shrinkwrap.descriptor.api.Child<T>This interface defines the contract for themessagelistenerTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetId()Returns theidattributeStringgetMessagelistenerType()Returns themessagelistener-typeelementActivationspecType<MessagelistenerType<T>>getOrCreateActivationspec()If not already created, a newactivationspecelement with the given value will be created.MessagelistenerType<T>id(String id)Sets theidattributeMessagelistenerType<T>messagelistenerType(String messagelistenerType)Sets themessagelistener-typeelementMessagelistenerType<T>removeActivationspec()Removes theactivationspecelementMessagelistenerType<T>removeId()Removes theidattributeMessagelistenerType<T>removeMessagelistenerType()Removes themessagelistener-typeelement
-
-
-
Method Detail
-
messagelistenerType
MessagelistenerType<T> messagelistenerType(String messagelistenerType)
Sets themessagelistener-typeelement- Parameters:
messagelistenerType- the value for the elementmessagelistener-type- Returns:
- the current instance of
MessagelistenerType
-
getMessagelistenerType
String getMessagelistenerType()
Returns themessagelistener-typeelement- Returns:
- the node defined for the element
messagelistener-type
-
removeMessagelistenerType
MessagelistenerType<T> removeMessagelistenerType()
Removes themessagelistener-typeelement- Returns:
- the current instance of
MessagelistenerType
-
getOrCreateActivationspec
ActivationspecType<MessagelistenerType<T>> getOrCreateActivationspec()
If not already created, a newactivationspecelement with the given value will be created. Otherwise, the existingactivationspecelement will be returned.- Returns:
- a new or existing instance of
ActivationspecType>
-
removeActivationspec
MessagelistenerType<T> removeActivationspec()
Removes theactivationspecelement- Returns:
- the current instance of
MessagelistenerType
-
id
MessagelistenerType<T> id(String id)
Sets theidattribute- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
MessagelistenerType
-
getId
String getId()
Returns theidattribute- Returns:
- the value defined for the attribute
id
-
removeId
MessagelistenerType<T> removeId()
Removes theidattribute- Returns:
- the current instance of
MessagelistenerType
-
-