public String process(Options opts, String xmlFile) throws Exception { processOpts( opts ); return process( xmlFile ); }
public String process(InputStream input) throws Exception { return process(null, input ); }
public String process(InputStream input) throws Exception { return process(null, input ); }
public String process(Options opts, String xmlFile) throws Exception { processOpts( opts ); return process( xmlFile ); }
/** * process an XML file containing a pre-prepared admin message * @param xmlFile file to load * @return * @throws Exception */ public String process(String xmlFile) throws Exception { FileInputStream in = new FileInputStream(xmlFile); String result = process(null, in ); return result ; }
public String process(Options opts, String xmlFile) throws Exception { processOpts( opts ); return process( xmlFile ); }
/** * process an XML file containing a pre-prepared admin message * @param xmlFile file to load * @return * @throws Exception */ public String process(String xmlFile) throws Exception { FileInputStream in = new FileInputStream(xmlFile); String result = process(null, in ); return result ; }
/** * process an XML file containing a pre-prepared admin message * @param xmlFile file to load * @return * @throws Exception */ public String process(String xmlFile) throws Exception { FileInputStream in = new FileInputStream(xmlFile); String result = process(null, in ); return result ; }
public String process(URL xmlURL) throws Exception { return process(null, xmlURL.openStream() ); }
public String process(URL xmlURL) throws Exception { return process(null, xmlURL.openStream() ); }
/** * send a list command * @return the response from the call * @throws Exception */ public String list() throws Exception { log.debug( Messages.getMessage("doList00") ); String str = "<m:list xmlns:m=\"" + WSDDConstants.URI_WSDD + "\"/>" ; ByteArrayInputStream input = new ByteArrayInputStream(str.getBytes()); return process(input); }
/** * make a quit command * @return * @throws Exception */ public String quit() throws Exception { log.debug(Messages.getMessage("doQuit00")); String str = "<m:quit xmlns:m=\"" + WSDDConstants.URI_WSDD + "\"/>"; ByteArrayInputStream input = new ByteArrayInputStream(str.getBytes()); return process(input); }
/** * send a list command * @return the response from the call * @throws Exception */ public String list() throws Exception { log.debug( Messages.getMessage("doList00") ); String str = "<m:list xmlns:m=\"" + WSDDConstants.URI_WSDD + "\"/>" ; ByteArrayInputStream input = new ByteArrayInputStream(str.getBytes()); return process(input); }
/** * make a quit command * @return * @throws Exception */ public String quit() throws Exception { log.debug(Messages.getMessage("doQuit00")); String str = "<m:quit xmlns:m=\"" + WSDDConstants.URI_WSDD + "\"/>"; ByteArrayInputStream input = new ByteArrayInputStream(str.getBytes()); return process(input); }
/** * send a list command * @return the response from the call * @throws Exception */ public String list() throws Exception { log.debug( Messages.getMessage("doList00") ); String str = "<m:list xmlns:m=\"" + WSDDConstants.URI_WSDD + "\"/>" ; ByteArrayInputStream input = new ByteArrayInputStream(str.getBytes()); return process(input); }
/** * make a quit command * @return * @throws Exception */ public String quit() throws Exception { log.debug(Messages.getMessage("doQuit00")); String str = "<m:quit xmlns:m=\"" + WSDDConstants.URI_WSDD + "\"/>"; ByteArrayInputStream input = new ByteArrayInputStream(str.getBytes()); return process(input); }
/** * undeploy a service * @param serviceName name of service * @return * @throws Exception */ public String undeployService(String serviceName) throws Exception { log.debug(Messages.getMessage("doQuit00")); String str = "<m:"+ROOT_UNDEPLOY +" xmlns:m=\"" + WSDDConstants.URI_WSDD + "\">" + "<service name=\"" + serviceName + "\"/>"+ "</m:"+ROOT_UNDEPLOY +">" ; ByteArrayInputStream input = new ByteArrayInputStream(str.getBytes()); return process(input); }
/** * undeploy a handler * @param handlerName name of the handler to undeploy * @return * @throws Exception */ public String undeployHandler(String handlerName) throws Exception { log.debug(Messages.getMessage("doQuit00")); String str = "<m:"+ROOT_UNDEPLOY +" xmlns:m=\"" + WSDDConstants.URI_WSDD + "\">" + "<handler name=\"" + handlerName + "\"/>"+ "</m:"+ROOT_UNDEPLOY +">" ; ByteArrayInputStream input = new ByteArrayInputStream(str.getBytes()); return process(input); }
/** * undeploy a handler * @param handlerName name of the handler to undeploy * @return * @throws Exception */ public String undeployHandler(String handlerName) throws Exception { log.debug(Messages.getMessage("doQuit00")); String str = "<m:"+ROOT_UNDEPLOY +" xmlns:m=\"" + WSDDConstants.URI_WSDD + "\">" + "<handler name=\"" + handlerName + "\"/>"+ "</m:"+ROOT_UNDEPLOY +">" ; ByteArrayInputStream input = new ByteArrayInputStream(str.getBytes()); return process(input); }
/** * undeploy a service * @param serviceName name of service * @return * @throws Exception */ public String undeployService(String serviceName) throws Exception { log.debug(Messages.getMessage("doQuit00")); String str = "<m:"+ROOT_UNDEPLOY +" xmlns:m=\"" + WSDDConstants.URI_WSDD + "\">" + "<service name=\"" + serviceName + "\"/>"+ "</m:"+ROOT_UNDEPLOY +">" ; ByteArrayInputStream input = new ByteArrayInputStream(str.getBytes()); return process(input); }