com.localmatters.collector.queue.producer
Class ProducerBean

java.lang.Object
  extended by com.localmatters.collector.queue.producer.ProducerBean
All Implemented Interfaces:
ProducerLocal, ProducerRemote, ProducerService

public class ProducerBean
extends java.lang.Object
implements ProducerRemote, ProducerLocal

The collector producer bean.

Author:
Daniel Cavalcanti

Constructor Summary
ProducerBean()
          Creates a new instance of ProducerBean.
 
Method Summary
 void send(java.lang.String message)
          Sends a message to the queue.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProducerBean

public ProducerBean()
Creates a new instance of ProducerBean.

Method Detail

send

public void send(java.lang.String message)
          throws CollectorQueueException
Description copied from interface: ProducerService
Sends a message to the queue.

Specified by:
send in interface ProducerService
Parameters:
message - The message.
Throws:
CollectorQueueException