FileDocCategorySizeDatePackage
MessageListenerMetaData.javaAPI DocJBoss 4.2.13215Fri Jul 13 21:01:18 BST 2007org.jboss.resource.metadata

MessageListenerMetaData

public class MessageListenerMetaData extends Object implements Serializable
Message listener meta data
author
Adrian Brock
version
$Revision: 57189 $

Fields Summary
private static final long
serialVersionUID
private String
type
The message listener type
private String
asType
The activation spec type
private HashSet
requiredProperties
The required properties
Constructors Summary
Methods Summary
public voidaddRequiredConfigProperty(RequiredConfigPropertyMetaData rcpmd)
Add a required config property

param
rcpmd the required config property

      requiredProperties.add(rcpmd);
   
public java.lang.StringgetActivationSpecType()
Get the activation spec type

return
the activation spec type

      return asType;
   
public java.util.CollectiongetRequiredConfigProperties()
Get the required properties

return
the required config properties

      return requiredProperties;
   
public java.lang.StringgetType()
Get the message listener type

return
the message listener type


                  
     
   
      return type;
   
public voidsetActivationSpecType(java.lang.String type)
Set the activation spec type

param
type the activation spec type

      this.asType = type;
   
public voidsetType(java.lang.String type)
Set the message listener type

param
type the message listener type

      this.type = type;
   
public java.lang.StringtoString()

      StringBuffer buffer = new StringBuffer();
      buffer.append("MessageListenerMetaData").append('@");
      buffer.append(Integer.toHexString(System.identityHashCode(this)));
      buffer.append("[type=").append(type);
      buffer.append(" activationSpecType=").append(asType);
      buffer.append(" requiredProperties=").append(requiredProperties);
      buffer.append(']");
      return buffer.toString();