Liferay 6.2-ce-ga5

com.liferay.portal.kernel.messaging
Interface MessageBus

All Known Implementing Classes:
DefaultMessageBus

public interface MessageBus


Method Summary
 void addDestination(Destination destination)
           
 void addDestinationEventListener(DestinationEventListener destinationEventListener)
           
 void addDestinationEventListener(String destinationName, DestinationEventListener destinationEventListener)
           
 Destination getDestination(String destinationName)
           
 int getDestinationCount()
           
 Collection<String> getDestinationNames()
           
 Collection<Destination> getDestinations()
           
 boolean hasDestination(String destinationName)
           
 boolean hasMessageListener(String destinationName)
           
 boolean registerMessageListener(String destinationName, MessageListener messageListener)
           
 Destination removeDestination(String destinationName)
           
 void removeDestinationEventListener(DestinationEventListener destinationEventListener)
           
 void removeDestinationEventListener(String destinationName, DestinationEventListener destinationEventListener)
           
 void replace(Destination destination)
           
 void sendMessage(String destinationName, Message message)
           
 void shutdown()
           
 void shutdown(boolean force)
           
 boolean unregisterMessageListener(String destinationName, MessageListener messageListener)
           
 

Method Detail

addDestination

void addDestination(Destination destination)

addDestinationEventListener

void addDestinationEventListener(DestinationEventListener destinationEventListener)

addDestinationEventListener

void addDestinationEventListener(String destinationName,
                                 DestinationEventListener destinationEventListener)

getDestination

Destination getDestination(String destinationName)

getDestinationCount

int getDestinationCount()

getDestinationNames

Collection<String> getDestinationNames()

getDestinations

Collection<Destination> getDestinations()

hasDestination

boolean hasDestination(String destinationName)

hasMessageListener

boolean hasMessageListener(String destinationName)

registerMessageListener

boolean registerMessageListener(String destinationName,
                                MessageListener messageListener)

removeDestination

Destination removeDestination(String destinationName)

removeDestinationEventListener

void removeDestinationEventListener(DestinationEventListener destinationEventListener)

removeDestinationEventListener

void removeDestinationEventListener(String destinationName,
                                    DestinationEventListener destinationEventListener)

replace

void replace(Destination destination)

sendMessage

void sendMessage(String destinationName,
                 Message message)

shutdown

void shutdown()

shutdown

void shutdown(boolean force)

unregisterMessageListener

boolean unregisterMessageListener(String destinationName,
                                  MessageListener messageListener)

Liferay 6.2-ce-ga5