/** * */ package com.timesaver.service.rest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** *

* This class is the REST adapter to unerlying services which will support maintenance functionality. *

* *

* It is responsible for the following : *

* *

* Commands will be stored in Map using the * Event.getEvenType() as the key. *

* * * @TODO How will command parameters be set? * * @author Dickson */ public class ConfigurationServiceImpl implements IConfigurationService { // holds the actual service that processes the rest requests // private IConfigurationService assetService = null; Logger logger = LoggerFactory.getLogger(this.getClass()); /** * Constructor * * @throws Exception */ public ConfigurationServiceImpl() { super(); logger.debug(" **************************************creating " + this.getClass().getSimpleName()); } /* (non-Javadoc) * @see com.timesaver.service.rest.IConfigurationService#process(com.timesaver.common.event.ConcreteEvent) */ public String process(String event ) { logger.info("************************************** event"+event+" has been processed"); return "process1"; // Interface with service, passing parameters. // return new ConcreteResult(); } public String process() { logger.info("************************************** proces has been processed"); return "process2"; // Interface with service, passing parameters. // return new ConcreteResult(); } }