@Override public void create(String name, String type, String url, String username, String password, String pool) throws MBeanException { try { jmsService.create(name, type, url, username, password, pool); } catch (Throwable t) { throw new MBeanException(null, t.getMessage()); } }
@Override public Object execute() throws Exception { getJmsService().create(name, type, url, username, password, pool); return null; }
@Override public void create(String name, String type, String url) throws MBeanException { try { jmsService.create(name, type, url); } catch (Throwable t) { throw new MBeanException(null, t.getMessage()); } }
public Object doExecute() throws Exception { getJmsService().create(name, type, url, username, password); return null; }