In Order to fetch the server/ Instance name or clone ID in Controller Command use the following methods
HttpControllerRequestObject req = (HttpControllerRequestObject) getCommandContext().getRequest();
req.getServletContext().getServerInfo();
or
WCSApp.getCloneId();
HttpControllerRequestObject req = (HttpControllerRequestObject) getCommandContext().getRequest();
req.getServletContext().getServerInfo();
or
WCSApp.getCloneId();
No comments:
Post a Comment