org.apache.activemq.broker.region.virtual
Class VirtualDestinationInterceptor

java.lang.Object
  extended by org.apache.activemq.broker.region.virtual.VirtualDestinationInterceptor
All Implemented Interfaces:
DestinationInterceptor

public class VirtualDestinationInterceptor
extends Object
implements DestinationInterceptor

Implements Virtual Topics.


Constructor Summary
VirtualDestinationInterceptor()
           
 
Method Summary
 void create(Broker broker, ConnectionContext context, ActiveMQDestination destination)
           
protected  Destination createCompositeDestination(Destination destination, List<Destination> destinations)
           
 VirtualDestination[] getVirtualDestinations()
           
 Destination intercept(Destination destination)
           
 void remove(Destination destination)
           
 void setVirtualDestinations(VirtualDestination[] virtualDestinations)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VirtualDestinationInterceptor

public VirtualDestinationInterceptor()
Method Detail

intercept

public Destination intercept(Destination destination)
Specified by:
intercept in interface DestinationInterceptor

create

public void create(Broker broker,
                   ConnectionContext context,
                   ActiveMQDestination destination)
            throws Exception
Specified by:
create in interface DestinationInterceptor
Throws:
Exception

remove

public void remove(Destination destination)
Specified by:
remove in interface DestinationInterceptor

getVirtualDestinations

public VirtualDestination[] getVirtualDestinations()

setVirtualDestinations

public void setVirtualDestinations(VirtualDestination[] virtualDestinations)

createCompositeDestination

protected Destination createCompositeDestination(Destination destination,
                                                 List<Destination> destinations)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.