Liferay 6.2.0

com.liferay.portal.kernel.messaging
Interface Destination

All Known Implementing Classes:
BaseAsyncDestination, BaseDestination, DestinationWrapper, IntrabandBridgeDestination, ParallelDestination, SerialDestination, SynchronousDestination

public interface Destination


Method Summary
abstract  void addDestinationEventListener(DestinationEventListener destinationEventListener)
           
abstract  void close()
           
abstract  void close(boolean force)
           
abstract  void copyDestinationEventListeners(Destination destination)
           
abstract  void copyMessageListeners(Destination destination)
           
abstract  DestinationStatistics getDestinationStatistics()
           
abstract  int getMessageListenerCount()
           
abstract  Set<MessageListener> getMessageListeners()
           
abstract  String getName()
           
abstract  boolean isRegistered()
           
abstract  void open()
           
abstract  boolean register(MessageListener messageListener)
           
abstract  boolean register(MessageListener messageListener, ClassLoader classloader)
           
abstract  void removeDestinationEventListener(DestinationEventListener destinationEventListener)
           
abstract  void removeDestinationEventListeners()
           
abstract  void send(Message message)
           
abstract  boolean unregister(MessageListener messageListener)
           
abstract  void unregisterMessageListeners()
           
 

Method Detail

addDestinationEventListener

void addDestinationEventListener(DestinationEventListener destinationEventListener)

close

void close()

close

void close(boolean force)

copyDestinationEventListeners

void copyDestinationEventListeners(Destination destination)

copyMessageListeners

void copyMessageListeners(Destination destination)

getDestinationStatistics

DestinationStatistics getDestinationStatistics()

getMessageListenerCount

int getMessageListenerCount()

getMessageListeners

Set<MessageListener> getMessageListeners()

getName

String getName()

isRegistered

boolean isRegistered()

open

void open()

register

boolean register(MessageListener messageListener)

register

boolean register(MessageListener messageListener,
                 ClassLoader classloader)

removeDestinationEventListener

void removeDestinationEventListener(DestinationEventListener destinationEventListener)

removeDestinationEventListeners

void removeDestinationEventListeners()

send

void send(Message message)

unregister

boolean unregister(MessageListener messageListener)

unregisterMessageListeners

void unregisterMessageListeners()

Liferay 6.2.0