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