org.jboss.jca.common.metadata.ra.common
Class MessageAdapter

java.lang.Object
  extended by org.jboss.jca.common.metadata.ra.common.MessageAdapter
All Implemented Interfaces:
Serializable, JCAMetadata, IdDecoratedMetadata

public class MessageAdapter
extends Object
implements IdDecoratedMetadata

Author:
Stefano Maestri
See Also:
Serialized Form

Nested Class Summary
static class MessageAdapter.Attribute
          A Attribute.
static class MessageAdapter.Tag
          A Tag.
 
Constructor Summary
MessageAdapter(ArrayList<MessageListener> messagelistener, String id)
           
 
Method Summary
 boolean equals(Object obj)
          
 String getId()
          Return the String representing xml ID
 List<MessageListener> getMessagelistener()
           
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageAdapter

public MessageAdapter(ArrayList<MessageListener> messagelistener,
                      String id)
Parameters:
messagelistener - The messagelistener specifies information about a specific message listener supported by the messaging resource adapter. It contains information on the Java type of the message listener interface and an activation specification.
id - XML ID
Method Detail

getMessagelistener

public List<MessageListener> getMessagelistener()
Returns:
messagelistener

getId

public String getId()
Return the String representing xml ID

Specified by:
getId in interface IdDecoratedMetadata
Returns:
the XML ID
See Also:
IdDecoratedMetadata.getId()

hashCode

public int hashCode()

Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

public boolean equals(Object obj)

Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

toString

public String toString()

Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)