public void destroy() { try { jbossInternalDestroy(); } catch (Throwable t) { log.warn(ServiceMBeanLogger.ROOT_LOGGER.errorInDestroy(jbossInternalDescription()), t); } }
public void jbossInternalLifecycle(String method) throws Exception { if (method == null) throw ServiceMBeanLogger.ROOT_LOGGER.nullMethodName(); if (method.equals("create")) jbossInternalCreate(); else if (method.equals("start")) jbossInternalStart(); else if (method.equals("stop")) jbossInternalStop(); else if (method.equals("destroy")) jbossInternalDestroy(); else throw ServiceMBeanLogger.ROOT_LOGGER.unknownLifecycleMethod(method); }
@Destroy public void pojoDestroy() throws Exception { jbossInternalDestroy(); }
@Destroy public void pojoDestroy() throws Exception { jbossInternalDestroy(); }
public void destroy() { try { jbossInternalDestroy(); } catch (Throwable t) { log.warn(ServiceMBeanLogger.ROOT_LOGGER.errorInDestroy(jbossInternalDescription()), t); } }
public void jbossInternalLifecycle(String method) throws Exception { if (method == null) throw new IllegalArgumentException("Null method name"); if (method.equals("create")) jbossInternalCreate(); else if (method.equals("start")) jbossInternalStart(); else if (method.equals("stop")) jbossInternalStop(); else if (method.equals("destroy")) jbossInternalDestroy(); else throw new IllegalArgumentException("Unknown lifecyle method " + method); }
public void destroy() { try { jbossInternalDestroy(); } catch (Throwable t) { log.warn(ServiceMBeanLogger.ROOT_LOGGER.errorInDestroy(jbossInternalDescription()), t); } }
public void jbossInternalLifecycle(String method) throws Exception { if (method == null) throw new IllegalArgumentException("Null method name"); if (method.equals("create")) jbossInternalCreate(); else if (method.equals("start")) jbossInternalStart(); else if (method.equals("stop")) jbossInternalStop(); else if (method.equals("destroy")) jbossInternalDestroy(); else throw new IllegalArgumentException("Unknown lifecyle method " + method); }
public void destroy() { try { if (controllerContext != null) pojoChange(ControllerState.CONFIGURED); else if (serviceName != null && isJBossInternalLifecycleExposed) server.invoke(ServiceController.OBJECT_NAME, "destroy", new Object[] { serviceName }, SERVICE_CONTROLLER_SIG); else jbossInternalDestroy(); } catch (Throwable t) { log.warn("Error in destroy " + jbossInternalDescription(), t); } }
public void destroy() { try { if (controllerContext != null) pojoChange(ControllerState.CONFIGURED); else if (serviceName != null && isJBossInternalLifecycleExposed) server.invoke(ServiceControllerMBean.OBJECT_NAME, "destroy", new Object[] { serviceName }, SERVICE_CONTROLLER_SIG); else jbossInternalDestroy(); } catch (Throwable t) { log.warn("Error in destroy " + jbossInternalDescription(), t); } }
public void jbossInternalLifecycle(String method) throws Exception { if (method == null) throw ServiceMBeanLogger.ROOT_LOGGER.nullMethodName(); if (method.equals("create")) jbossInternalCreate(); else if (method.equals("start")) jbossInternalStart(); else if (method.equals("stop")) jbossInternalStop(); else if (method.equals("destroy")) jbossInternalDestroy(); else throw ServiceMBeanLogger.ROOT_LOGGER.unknownLifecycleMethod(method); }
public void jbossInternalLifecycle(String method) throws Exception { if (method == null) throw ServiceMBeanLogger.ROOT_LOGGER.nullMethodName(); if (method.equals("create")) jbossInternalCreate(); else if (method.equals("start")) jbossInternalStart(); else if (method.equals("stop")) jbossInternalStop(); else if (method.equals("destroy")) jbossInternalDestroy(); else throw ServiceMBeanLogger.ROOT_LOGGER.unknownLifecycleMethod(method); }