[Batchserver-cvs] batchserver/src/org/jmonks/batchserver/framework/mgmtmntr DefaultMgmtMntrManager.j
Brought to you by:
suresh_pragada
From: Suresh <sur...@us...> - 2006-03-17 05:14:51
|
Update of /cvsroot/batchserver/batchserver/src/org/jmonks/batchserver/framework/mgmtmntr In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19020 Modified Files: DefaultMgmtMntrManager.java MgmtMntrManager.java Log Message: no message Index: MgmtMntrManager.java =================================================================== RCS file: /cvsroot/batchserver/batchserver/src/org/jmonks/batchserver/framework/mgmtmntr/MgmtMntrManager.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MgmtMntrManager.java 4 Mar 2006 04:42:28 -0000 1.2 --- MgmtMntrManager.java 17 Mar 2006 05:14:47 -0000 1.3 *************** *** 20,26 **** private JobManagerMBean mJobManager; - protected MgmtMntrManager() - { - } /** --- 20,23 ---- *************** *** 41,91 **** */ public static org.jmonks.batchserver.framework.mgmtmntr.MgmtMntrManager getMgmtMntrManager(String jobName, org.jmonks.batchserver.framework.config.FrameworkConfig.MgmtMntrConfig config) - - - - - - - - - - - - - - - - - - - - - { return null; - - - - - - - - - - - - - - - - - - - - - } /** * This method creates the MBeanServer with JobManagerMBean and JobMonitorMBean beans and passes this controller references to the these mbeans and creates the connector server and saves this connector information in the common place to be looked up by server. * --- 38,56 ---- */ public static org.jmonks.batchserver.framework.mgmtmntr.MgmtMntrManager getMgmtMntrManager(String jobName, org.jmonks.batchserver.framework.config.FrameworkConfig.MgmtMntrConfig config) { return null; } /** + * Method to initialize the MgmtMntrManager with the properties defined + * for this manager in framework configuration file. + * + * @param mgmtMntrConfig Properties defined for this manager as a map. + * + * @throws ConfigurationException If required properties of the implementation misses. + */ + protected abstract void init(FrameworkConfig.MgmtMntrConfig mgmtMntrConfig); + + /** * This method creates the MBeanServer with JobManagerMBean and JobMonitorMBean beans and passes this controller references to the these mbeans and creates the connector server and saves this connector information in the common place to be looked up by server. * *************** *** 105,113 **** * @return Returns the job name. */ ! public String getJobName() ! { return null; - } --- 70,76 ---- * @return Returns the job name. */ ! public String getJobName() { return null; } Index: DefaultMgmtMntrManager.java =================================================================== RCS file: /cvsroot/batchserver/batchserver/src/org/jmonks/batchserver/framework/mgmtmntr/DefaultMgmtMntrManager.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** DefaultMgmtMntrManager.java 4 Mar 2006 04:42:28 -0000 1.2 --- DefaultMgmtMntrManager.java 17 Mar 2006 05:14:46 -0000 1.3 *************** *** 9,18 **** * </p> * ! * @author : Suresh Pragada * @version 1.0 */ public class DefaultMgmtMntrManager extends MgmtMntrManager { ! protected DefaultMgmtMntrManager(FrameworkConfig.MgmtMntrConfig config) { --- 9,22 ---- * </p> * ! * @author Suresh Pragada * @version 1.0 + * @since 1.0 */ public class DefaultMgmtMntrManager extends MgmtMntrManager { ! /** ! * @see org.jmonks.batchserver.framework.mgmtmntr.MgmtMntrManager@init(org.jmonks.batchserver.framework.config.FrameworkConfig.MgmtMntrConfig) ! */ ! protected void init(org.jmonks.batchserver.framework.config.FrameworkConfig.MgmtMntrConfig mgmtMntrConfig) { *************** *** 32,34 **** --- 36,39 ---- { } + } |