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 |
|---|---|
void |
close() |
void |
close(boolean force) |
void |
destroy() |
DestinationStatistics |
getDestinationStatistics() |
String |
getDestinationType() |
String |
getName() |
void |
open() |
void |
send(Message message) |
protected Destination destination
public DestinationWrapper(Destination destination)
public void close()
close in interface Destinationpublic void close(boolean force)
close in interface Destinationpublic void destroy()
destroy in interface Destinationpublic DestinationStatistics getDestinationStatistics()
getDestinationStatistics in interface Destinationpublic String getDestinationType()
getDestinationType in interface Destinationpublic String getName()
getName in interface Destinationpublic void open()
open in interface Destinationpublic void send(Message message)
send in interface Destination