Liferay 6.2-ce-ga5

com.liferay.portal.kernel.messaging
Interface Destination

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

public interface Destination


Method Summary
 void addDestinationEventListener(DestinationEventListener destinationEventListener)
           
 void close()
           
 void close(boolean force)
           
 void copyDestinationEventListeners(Destination destination)
           
 void copyMessageListeners(Destination destination)
           
 DestinationStatistics getDestinationStatistics()
           
 int getMessageListenerCount()
           
 Set<MessageListener> getMessageListeners()
           
 String getName()
           
 boolean isRegistered()
           
 void open()
           
 boolean register(MessageListener messageListener)
           
 boolean register(MessageListener messageListener, ClassLoader classloader)
           
 void removeDestinationEventListener(DestinationEventListener destinationEventListener)
           
 void removeDestinationEventListeners()
           
 void send(Message message)
           
 boolean unregister(MessageListener messageListener)
           
 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-ce-ga5