org.oddjob.jmx.server
Class AccumulatingFactoryProvider
java.lang.Object
org.oddjob.jmx.server.AccumulatingFactoryProvider
- All Implemented Interfaces:
- HandlerFactoryProvider
public class AccumulatingFactoryProvider
- extends Object
- implements HandlerFactoryProvider
An HandlerFactoryProvider
that provides s
by accumulating other ServerHandlerProviders.
- Author:
- rob
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccumulatingFactoryProvider
public AccumulatingFactoryProvider()
addProvider
public void addProvider(HandlerFactoryProvider provider)
- Add a provider.
- Parameters:
provider
-
getHandlerFactories
public ServerInterfaceHandlerFactory<?,?>[] getHandlerFactories()
- Description copied from interface:
HandlerFactoryProvider
- Provide the factories.
- Specified by:
getHandlerFactories
in interface HandlerFactoryProvider
- Returns:
- Array of factories. Never null;