org.apache.qpid.server.plugins
Class PluginManager

java.lang.Object
  extended by org.apache.qpid.server.plugins.PluginManager
All Implemented Interfaces:
org.apache.qpid.common.Closeable

public class PluginManager
extends Object
implements org.apache.qpid.common.Closeable

Provides access to pluggable elements, such as exchanges


Constructor Summary
PluginManager(String pluginPath, String cachePath)
           
 
Method Summary
 void close()
           
 Map<List<String>,ConfigurationPluginFactory> getConfigurationPlugins()
           
 Map<String,ExchangeType<?>> getExchanges()
           
 Map<String,SecurityPluginFactory> getSecurityPlugins()
           
static
<T> Map<String,T>
getServices(org.osgi.util.tracker.ServiceTracker tracker, Map<String,T> plugins)
           
 Map<String,SlowConsumerPolicyPluginFactory> getSlowConsumerPlugins()
           
 Map<String,VirtualHostPluginFactory> getVirtualHostPlugins()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginManager

public PluginManager(String pluginPath,
                     String cachePath)
              throws Exception
Throws:
Exception
Method Detail

getServices

public static <T> Map<String,T> getServices(org.osgi.util.tracker.ServiceTracker tracker,
                                            Map<String,T> plugins)

getConfigurationPlugins

public Map<List<String>,ConfigurationPluginFactory> getConfigurationPlugins()

getVirtualHostPlugins

public Map<String,VirtualHostPluginFactory> getVirtualHostPlugins()

getSlowConsumerPlugins

public Map<String,SlowConsumerPolicyPluginFactory> getSlowConsumerPlugins()

getExchanges

public Map<String,ExchangeType<?>> getExchanges()

getSecurityPlugins

public Map<String,SecurityPluginFactory> getSecurityPlugins()

close

public void close()
Specified by:
close in interface org.apache.qpid.common.Closeable


Licensed to the Apache Software Foundation