org.apache.qpid.server.exchange
Class DefaultExchangeFactory
java.lang.Object
org.apache.qpid.server.exchange.DefaultExchangeFactory
- All Implemented Interfaces:
- ExchangeFactory
public class DefaultExchangeFactory
- extends Object
- implements ExchangeFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultExchangeFactory
public DefaultExchangeFactory(VirtualHost host)
registerExchangeType
public void registerExchangeType(ExchangeType<? extends Exchange> type)
getRegisteredTypes
public Collection<ExchangeType<? extends Exchange>> getRegisteredTypes()
- Specified by:
getRegisteredTypes
in interface ExchangeFactory
getPublicCreatableTypes
public Collection<ExchangeType<? extends Exchange>> getPublicCreatableTypes()
- Specified by:
getPublicCreatableTypes
in interface ExchangeFactory
createExchange
public Exchange createExchange(String exchange,
String type,
boolean durable,
boolean autoDelete)
throws org.apache.qpid.AMQException
- Specified by:
createExchange
in interface ExchangeFactory
- Throws:
org.apache.qpid.AMQException
createExchange
public 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
- Specified by:
createExchange
in interface ExchangeFactory
- Throws:
org.apache.qpid.AMQException
initialise
public void initialise(VirtualHostConfiguration hostConfig)
- Specified by:
initialise
in interface ExchangeFactory
Licensed to the Apache Software Foundation