An abstract method that Executes the command
validateOptions();
try
{
MBeanServerConnection mbsc = getMBeanServerConnection(getHost(), getPort(),
getUser(), getPassword());
//DomainRoot domainRoot = ProxyFactory.getInstance(mbsc).getDomainRoot();
//final Set s = domainRoot.getQueryMgr().queryJ2EETypeSet(XTypes.WEB_SERVICE_ENDPOINT_CONFIG);
String webServiceName = getOption(WEB_SERVICE_OPTION);
validateWebServiceName(webServiceName, false);
boolean nothingToList = listTransformationRules(mbsc);
if (nothingToList)
{
CLILogger.getInstance().printMessage(getLocalizedString("NoElementsToList"));
}
CLILogger.getInstance().printDetailMessage(getLocalizedString(
"CommandSuccessful",
new Object[] {name}));
}
catch(Exception e)
{
displayExceptionMessage(e);
}