public String service(String serviceSpec,String serviceCmd) throws Exception {
  return executeExtension(ResourceType.SERVICE,serviceSpec,KEY_COMMAND,serviceCmd,null);
}

public String service ( String serviceSpec , String serviceCmd ) throws Exception { return executeExtension ( ResourceType . SERVICE , serviceSpec , KEY_COMMAND , serviceCmd , null ) ; }
executes a command on a service . the command must be defined in the service configuration like this for eg . : < br / > command . start = . . / . . / tungsten - replicator / bin / replicator start
