Liferay 6.2-ce-ga5

com.liferay.portal.kernel.messaging
Class DestinationWrapper

java.lang.Object
  extended by com.liferay.portal.kernel.messaging.DestinationWrapper
All Implemented Interfaces:
Destination
Direct Known Subclasses:
IntrabandBridgeDestination

public class DestinationWrapper
extends Object
implements Destination


Field Summary
protected  Destination destination
           
 
Constructor Summary
DestinationWrapper(Destination destination)
           
 
Method Summary
 void addDestinationEventListener(DestinationEventListener destinationEventListener)
           
 void close()
           
 void close(boolean force)
           
 void copyDestinationEventListeners(Destination destination)
           
 void copyMessageListeners(Destination destination)
           
 DestinationStatistics getDestinationStatistics()
           
 int getMessageListenerCount()
           
 Set<MessageListener> getMessageListeners()
           
 String getName()
           
 boolean isRegistered()
           
 void open()
           
 boolean register(MessageListener messageListener)
           
 boolean register(MessageListener messageListener, ClassLoader classloader)
           
 void removeDestinationEventListener(DestinationEventListener destinationEventListener)
           
 void removeDestinationEventListeners()
           
 void send(Message message)
           
 boolean unregister(MessageListener messageListener)
           
 void unregisterMessageListeners()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

destination

protected Destination destination
Constructor Detail

DestinationWrapper

public DestinationWrapper(Destination destination)
Method Detail

addDestinationEventListener

public void addDestinationEventListener(DestinationEventListener destinationEventListener)
Specified by:
addDestinationEventListener in interface Destination

close

public void close()
Specified by:
close in interface Destination

close

public void close(boolean force)
Specified by:
close in interface Destination

copyDestinationEventListeners

public void copyDestinationEventListeners(Destination destination)
Specified by:
copyDestinationEventListeners in interface Destination

copyMessageListeners

public void copyMessageListeners(Destination destination)
Specified by:
copyMessageListeners in interface Destination

getDestinationStatistics

public DestinationStatistics getDestinationStatistics()
Specified by:
getDestinationStatistics in interface Destination

getMessageListenerCount

public int getMessageListenerCount()
Specified by:
getMessageListenerCount in interface Destination

getMessageListeners

public Set<MessageListener> getMessageListeners()
Specified by:
getMessageListeners in interface Destination

getName

public String getName()
Specified by:
getName in interface Destination

isRegistered

public boolean isRegistered()
Specified by:
isRegistered in interface Destination

open

public void open()
Specified by:
open in interface Destination

register

public boolean register(MessageListener messageListener)
Specified by:
register in interface Destination

register

public boolean register(MessageListener messageListener,
                        ClassLoader classloader)
Specified by:
register in interface Destination

removeDestinationEventListener

public void removeDestinationEventListener(DestinationEventListener destinationEventListener)
Specified by:
removeDestinationEventListener in interface Destination

removeDestinationEventListeners

public void removeDestinationEventListeners()
Specified by:
removeDestinationEventListeners in interface Destination

send

public void send(Message message)
Specified by:
send in interface Destination

unregister

public boolean unregister(MessageListener messageListener)
Specified by:
unregister in interface Destination

unregisterMessageListeners

public void unregisterMessageListeners()
Specified by:
unregisterMessageListeners in interface Destination

Liferay 6.2-ce-ga5