org.apache.commons.messagelet.model
Class Subscription

java.lang.Object
  extended by org.apache.commons.messagelet.model.Subscription

public class Subscription
extends Object

SubscriptionList a bean used by the digester to create a list of JMS subscriptions.

Version:
$Revision: 155459 $
Author:
James Strachan

Constructor Summary
Subscription()
           
 
Method Summary
 String getConnection()
          Getter for property connection.
 ConsumerThread getConsumerThread()
          Returns the consumerThread.
 javax.jms.MessageListener getMessageListener()
          Getter for property messageListener.
 String getSelector()
          Getter for property selector.
 String getServlet()
          Getter for property servlet.
 String getSubject()
          Getter for property subject.
 void setConnection(String connection)
          Setter for property connection.
 void setConsumerThread(ConsumerThread consumerThread)
          Sets the consumerThread.
 void setMessageListener(javax.jms.MessageListener messageListener)
          Setter for property messageListener.
 void setSelector(String selector)
          Setter for property selector.
 void setServlet(String servlet)
          Setter for property servlet.
 void setSubject(String subject)
          Setter for property subject.
 String toString()
          Outputs a debugging string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Subscription

public Subscription()
Method Detail

getConnection

public String getConnection()
Getter for property connection.

Returns:
Value of property connection.

setConnection

public void setConnection(String connection)
Setter for property connection.

Parameters:
connection - New value of property connection.

getSubject

public String getSubject()
Getter for property subject.

Returns:
Value of property subject.

setSubject

public void setSubject(String subject)
Setter for property subject.

Parameters:
subject - New value of property subject.

getSelector

public String getSelector()
Getter for property selector.

Returns:
Value of property selector.

setSelector

public void setSelector(String selector)
Setter for property selector.

Parameters:
selector - New value of property selector.

getMessageListener

public javax.jms.MessageListener getMessageListener()
Getter for property messageListener.

Returns:
Value of property messageListener.

setMessageListener

public void setMessageListener(javax.jms.MessageListener messageListener)
Setter for property messageListener.

Parameters:
messageListener - New value of property messageListener.

getServlet

public String getServlet()
Getter for property servlet.

Returns:
Value of property servlet.

setServlet

public void setServlet(String servlet)
Setter for property servlet.

Parameters:
servlet - New value of property servlet.

getConsumerThread

public ConsumerThread getConsumerThread()
Returns the consumerThread.

Returns:
ConsumerThread

setConsumerThread

public void setConsumerThread(ConsumerThread consumerThread)
Sets the consumerThread.

Parameters:
consumerThread - The consumerThread to set

toString

public String toString()
Outputs a debugging string

Overrides:
toString in class Object


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.