org.oddjob.jmx.server
Class ServerInterfaceManagerFactoryImpl

java.lang.Object
  extended by org.oddjob.jmx.server.ServerInterfaceManagerFactoryImpl
All Implemented Interfaces:
ServerInterfaceManagerFactory

public class ServerInterfaceManagerFactoryImpl
extends Object
implements ServerInterfaceManagerFactory

Simple implementation of a ServerInterfaceManagerFactory

Author:
rob

Constructor Summary
ServerInterfaceManagerFactoryImpl()
          Default Constructor.
ServerInterfaceManagerFactoryImpl(Map<String,?> env)
          Constructor with environment.
ServerInterfaceManagerFactoryImpl(Map<String,?> env, ServerInterfaceHandlerFactory<?,?>[] serverHandlerFactories)
          Constructor for user defined list of factories.
ServerInterfaceManagerFactoryImpl(ServerInterfaceHandlerFactory<?,?>[] serverHandlerFactories)
          Constructor with user defined handlers.
 
Method Summary
 void addServerHandlerFactories(ServerInterfaceHandlerFactory<?,?>[] serverHandlerFactories)
          Add extra handlers.
 ServerInterfaceManager create(Object target, ServerSideToolkit serverSideToolkit)
          Create a ServerInterfaceManager for the given object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerInterfaceManagerFactoryImpl

public ServerInterfaceManagerFactoryImpl()
Default Constructor.


ServerInterfaceManagerFactoryImpl

public ServerInterfaceManagerFactoryImpl(ServerInterfaceHandlerFactory<?,?>[] serverHandlerFactories)
Constructor with user defined handlers.

Parameters:
serverHandlerFactories -

ServerInterfaceManagerFactoryImpl

public ServerInterfaceManagerFactoryImpl(Map<String,?> env)
                                  throws IOException
Constructor with environment.

Parameters:
env -
Throws:
IOException

ServerInterfaceManagerFactoryImpl

public ServerInterfaceManagerFactoryImpl(Map<String,?> env,
                                         ServerInterfaceHandlerFactory<?,?>[] serverHandlerFactories)
                                  throws IOException
Constructor for user defined list of factories.

Parameters:
env -
serverHandlerFactories -
Throws:
IOException
Method Detail

addServerHandlerFactories

public void addServerHandlerFactories(ServerInterfaceHandlerFactory<?,?>[] serverHandlerFactories)
Add extra handlers.

Parameters:
serverHandlerFactories -

create

public ServerInterfaceManager create(Object target,
                                     ServerSideToolkit serverSideToolkit)
Description copied from interface: ServerInterfaceManagerFactory
Create a ServerInterfaceManager for the given object.

Specified by:
create in interface ServerInterfaceManagerFactory
Parameters:
target - The object that needs a manager.
serverSideToolkit - The toolkit used for creation of the manager.
Returns: