} else if(mode.equals("start")) {
AbstractName connectorAbstractName = new AbstractName(URI.create(connectorURI));
try {
PortletManager.getManagedBean(actionRequest, connectorAbstractName).startRecursive();
} catch (Exception e) {
throw new PortletException(e);
}
actionResponse.setRenderParameter("mode", "list");
} else if(mode.equals("stop")) {
AbstractName connectorAbstractName = new AbstractName(URI.create(connectorURI));
try {
PortletManager.getManagedBean(actionRequest, connectorAbstractName).stop();
} catch (Exception e) {
throw new PortletException(e);
}
actionResponse.setRenderParameter("mode", "list");
} else if(mode.equals("edit")) {
actionResponse.setRenderParameter("connectorURI", connectorURI);
actionResponse.setRenderParameter("brokerURI", brokerURI);