org.apache.qpid.server.exchange
Interface ExchangeFactory

All Known Implementing Classes:
DefaultExchangeFactory

public interface ExchangeFactory


Method Summary
 Exchange createExchange(org.apache.qpid.framing.AMQShortString exchange, org.apache.qpid.framing.AMQShortString type, boolean durable, boolean autoDelete, int ticket)
           
 Exchange createExchange(String exchange, String type, boolean durable, boolean autoDelete)
           
 Collection<ExchangeType<? extends Exchange>> getPublicCreatableTypes()
           
 Collection<ExchangeType<? extends Exchange>> getRegisteredTypes()
           
 void initialise(VirtualHostConfiguration hostConfig)
           
 

Method Detail

createExchange

Exchange createExchange(org.apache.qpid.framing.AMQShortString exchange,
                        org.apache.qpid.framing.AMQShortString type,
                        boolean durable,
                        boolean autoDelete,
                        int ticket)
                        throws org.apache.qpid.AMQException
Throws:
org.apache.qpid.AMQException

initialise

void initialise(VirtualHostConfiguration hostConfig)

getRegisteredTypes

Collection<ExchangeType<? extends Exchange>> getRegisteredTypes()

getPublicCreatableTypes

Collection<ExchangeType<? extends Exchange>> getPublicCreatableTypes()

createExchange

Exchange createExchange(String exchange,
                        String type,
                        boolean durable,
                        boolean autoDelete)
                        throws org.apache.qpid.AMQException
Throws:
org.apache.qpid.AMQException


Licensed to the Apache Software Foundation