com.liferay.portal.kernel.messaging
Class TempDestination

java.lang.Object
  extended by com.liferay.portal.kernel.messaging.BaseDestination
      extended by com.liferay.portal.kernel.messaging.IteratorDispatcherDestination
          extended by com.liferay.portal.kernel.messaging.TempDestination
All Implemented Interfaces:
Destination

public class TempDestination
extends IteratorDispatcherDestination

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
TempDestination(java.lang.String name)
           
TempDestination(java.lang.String name, int workersCoreSize, int workersMaxSize)
           
 
Method Summary
protected  void dispatch(java.util.Iterator<MessageListener> listenersItr, java.lang.Object message)
           
protected  void dispatch(java.util.Iterator<MessageListener> listenersItr, java.lang.String message)
           
 
Methods inherited from class com.liferay.portal.kernel.messaging.IteratorDispatcherDestination
register, send, send, unregister
 
Methods inherited from class com.liferay.portal.kernel.messaging.BaseDestination
close, close, doClose, doOpen, getName, getThreadPoolExecutor, getWorkersCoreSize, getWorkersMaxSize, open
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TempDestination

public TempDestination(java.lang.String name)

TempDestination

public TempDestination(java.lang.String name,
                       int workersCoreSize,
                       int workersMaxSize)
Method Detail

dispatch

protected void dispatch(java.util.Iterator<MessageListener> listenersItr,
                        java.lang.Object message)
Specified by:
dispatch in class IteratorDispatcherDestination

dispatch

protected void dispatch(java.util.Iterator<MessageListener> listenersItr,
                        java.lang.String message)
Specified by:
dispatch in class IteratorDispatcherDestination