611612613614615616617618
} catch (GBeanNotFoundException e) { throw e; } catch (RuntimeException e) { throw e; } catch (Exception e) { throw new InternalKernelException(e); } }
623624625626627628629630
635636637638639640641642
647648649650651652653654
657658659660661662663664
try { return (Set) invokeKernel("listGBeans", new Object[] {pattern}, new String[] {ObjectName.class.getName()}); } catch (RuntimeException e) { throw e; } catch (Exception e) { throw new InternalKernelException(e); } }
667668669670671672673674
try { return (Set) invokeKernel("listGBeans", new Object[] {patterns}, new String[] {Set.class.getName()}); } catch (RuntimeException e) { throw e; } catch (Exception e) { throw new InternalKernelException(e); } }
677678679680681682683684
try { invokeKernel("registerShutdownHook", new Object[] {hook}, new String[] {Runnable.class.getName()}); } catch (RuntimeException e) { throw e; } catch (Exception e) { throw new InternalKernelException(e); } }
687688689690691692693694
try { invokeKernel("unregisterShutdownHook", new Object[] {hook}, new String[] {Runnable.class.getName()}); } catch (RuntimeException e) { throw e; } catch (Exception e) { throw new InternalKernelException(e); } }
697698699700701702703704
try { invokeKernel("shutdown", new Object[] {}, new String[] {}); } catch (RuntimeException e) { throw e; } catch (Exception e) { throw new InternalKernelException(e); } }
709710711712713714715716