com.dtolabs.rundeck.core.dispatcher
Class CentralDispatcherMgrFactory

java.lang.Object
  extended by com.dtolabs.rundeck.core.dispatcher.CentralDispatcherMgrFactory

public class CentralDispatcherMgrFactory
extends java.lang.Object

CentralDispatcherMgrFactory provides methods for creating a CentralDispatcher instance, configured by a classname.


Field Summary
static org.apache.log4j.Logger logger
          logger
 
Method Summary
static CentralDispatcherMgrFactory create(java.lang.String classname, Framework framework)
          Factory method to create the factory instance.
 CentralDispatcher getCentralDispatcher()
          Return the CentralDispatcher implementation from this factory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static final org.apache.log4j.Logger logger
logger

Method Detail

create

public static CentralDispatcherMgrFactory create(java.lang.String classname,
                                                 Framework framework)
                                          throws CentralDispatcherException
Factory method to create the factory instance.

Parameters:
classname - classname for the CentralDispatcher implementation
framework - framework instance
Returns:
the factory
Throws:
CentralDispatcherException - if an error occurs

getCentralDispatcher

public CentralDispatcher getCentralDispatcher()
Return the CentralDispatcher implementation from this factory

Returns:
the instance