org.oddjob.jmx.server
Class URLFactoryProvider

java.lang.Object
  extended by org.oddjob.jmx.server.URLFactoryProvider
All Implemented Interfaces:
HandlerFactoryProvider

public class URLFactoryProvider
extends Object
implements HandlerFactoryProvider

An HandlerFactoryProvider that loads HandlerFactoryProviders from XML configuration found at the given URLs.

Author:
rob

Constructor Summary
URLFactoryProvider(URL[] urls, ArooaSession session)
          Constructor.
 
Method Summary
 ServerInterfaceHandlerFactory<?,?>[] getHandlerFactories()
          Provide the factories.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLFactoryProvider

public URLFactoryProvider(URL[] urls,
                          ArooaSession session)
Constructor.

Parameters:
urls -
session -
Method Detail

getHandlerFactories

public ServerInterfaceHandlerFactory<?,?>[] getHandlerFactories()
Description copied from interface: HandlerFactoryProvider
Provide the factories.

Specified by:
getHandlerFactories in interface HandlerFactoryProvider
Returns:
Array of factories. Never null;