Liferay 6.0-ee

com.liferay.portal.kernel.messaging
Interface Destination

All Known Implementing Classes:
BaseDestination, ParallelDestination, SerialDestination

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()
           
 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()

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.0-ee