18#ifndef _ACTIVEMQ_TRANSPORT_TRANSPORTREGISTRY_H_
19#define _ACTIVEMQ_TRANSPORT_TRANSPORTREGISTRY_H_
53 TransportRegistry(
const TransportRegistry& registry);
54 TransportRegistry& operator=(
const TransportRegistry& registry);
122 static void initialize();
123 static void shutdown();
#define AMQCPP_API
Definition Config.h:30
Definition ActiveMQCPP.h:26
Defines the interface for Factories that create Transports or TransportFilters.
Definition TransportFactory.h:42
void registerFactory(const std::string &name, TransportFactory *factory)
Registers a new TransportFactory with this Registry.
void unregisterAllFactories()
Removes all Factories and deletes the instances of the Factory objects.
std::vector< std::string > getTransportNames() const
Retrieves a list of the names of all the Registered Transport's in this Registry.
TransportFactory * findFactory(const std::string &name) const
Gets a Registered TransportFactory from the Registry and returns it if there is not a registered form...
void unregisterFactory(const std::string &name)
Unregisters the Factory with the given name and deletes that instance of the Factory.
virtual ~TransportRegistry()
static TransportRegistry & getInstance()
Gets the single instance of the TransportRegistry.
Map template that wraps around a std::map to provide a more user-friendly interface and to provide co...
Definition StlMap.h:48
Definition ActiveMQCPP.h:24
Definition AbstractTransportFactory.h:30
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition CachedConsumer.h:24