|
Liferay 6.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessageBus
| Method Summary | |
|---|---|
abstract void |
addDestination(Destination destination)
|
abstract void |
addDestinationEventListener(DestinationEventListener destinationEventListener)
|
abstract void |
addDestinationEventListener(String destinationName,
DestinationEventListener destinationEventListener)
|
abstract Destination |
getDestination(String destinationName)
|
abstract int |
getDestinationCount()
|
abstract Collection<String> |
getDestinationNames()
|
abstract Collection<Destination> |
getDestinations()
|
abstract boolean |
hasDestination(String destinationName)
|
abstract boolean |
hasMessageListener(String destinationName)
|
abstract boolean |
registerMessageListener(String destinationName,
MessageListener messageListener)
|
abstract Destination |
removeDestination(String destinationName)
|
abstract void |
removeDestinationEventListener(DestinationEventListener destinationEventListener)
|
abstract void |
removeDestinationEventListener(String destinationName,
DestinationEventListener destinationEventListener)
|
abstract void |
replace(Destination destination)
|
abstract void |
sendMessage(String destinationName,
Message message)
|
abstract void |
shutdown()
|
abstract void |
shutdown(boolean force)
|
abstract boolean |
unregisterMessageListener(String destinationName,
MessageListener messageListener)
|
| Method Detail |
|---|
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)
|
Liferay 6.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||