com.liferay.portal.kernel.messaging
Interface Destination
- All Known Implementing Classes:
- BaseDestination, ParallelDestination, SerialDestination
public interface Destination
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()