org.apache.activemq.broker.region
Class CompositeDestinationInterceptor

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

public class CompositeDestinationInterceptor
extends Object
implements DestinationInterceptor

Represents a Composite Pattern of a DestinationInterceptor


Constructor Summary
CompositeDestinationInterceptor(DestinationInterceptor[] interceptors)
           
 
Method Summary
 void create(Broker broker, ConnectionContext context, ActiveMQDestination destination)
           
 Destination intercept(Destination destination)
           
 void remove(Destination destination)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeDestinationInterceptor

public CompositeDestinationInterceptor(DestinationInterceptor[] interceptors)
Method Detail

intercept

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

remove

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

create

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


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.