public class DestinationWrapper extends Object implements Destination
| Modifier and Type | Field and Description |
|---|---|
protected Destination |
destination |
| Constructor and Description |
|---|
DestinationWrapper(Destination destination) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addDestinationEventListener(DestinationEventListener destinationEventListener) |
void |
close() |
void |
close(boolean force) |
void |
copyDestinationEventListeners(Destination destination) |
void |
copyMessageListeners(Destination destination) |
void |
destroy() |
DestinationStatistics |
getDestinationStatistics() |
int |
getMessageListenerCount() |
Set<MessageListener> |
getMessageListeners() |
String |
getName() |
boolean |
isRegistered() |
void |
open() |
boolean |
register(MessageListener messageListener) |
boolean |
register(MessageListener messageListener,
ClassLoader classLoader) |
boolean |
removeDestinationEventListener(DestinationEventListener destinationEventListener) |
void |
removeDestinationEventListeners() |
void |
send(Message message) |
boolean |
unregister(MessageListener messageListener) |
void |
unregisterMessageListeners() |
protected Destination destination
public DestinationWrapper(Destination destination)
public boolean addDestinationEventListener(DestinationEventListener destinationEventListener)
addDestinationEventListener in interface Destinationpublic void close()
close in interface Destinationpublic void close(boolean force)
close in interface Destinationpublic void copyDestinationEventListeners(Destination destination)
copyDestinationEventListeners in interface Destinationpublic void copyMessageListeners(Destination destination)
copyMessageListeners in interface Destinationpublic void destroy()
destroy in interface Destinationpublic DestinationStatistics getDestinationStatistics()
getDestinationStatistics in interface Destinationpublic int getMessageListenerCount()
getMessageListenerCount in interface Destinationpublic Set<MessageListener> getMessageListeners()
getMessageListeners in interface Destinationpublic String getName()
getName in interface Destinationpublic boolean isRegistered()
isRegistered in interface Destinationpublic void open()
open in interface Destinationpublic boolean register(MessageListener messageListener)
register in interface Destinationpublic boolean register(MessageListener messageListener, ClassLoader classLoader)
register in interface Destinationpublic boolean removeDestinationEventListener(DestinationEventListener destinationEventListener)
removeDestinationEventListener in interface Destinationpublic void removeDestinationEventListeners()
removeDestinationEventListeners in interface Destinationpublic void send(Message message)
send in interface Destinationpublic boolean unregister(MessageListener messageListener)
unregister in interface Destinationpublic void unregisterMessageListeners()
unregisterMessageListeners in interface Destination