687688689690691692693694
try { invokeKernel("registerShutdownHook", new Object[] {hook}, new String[] {Runnable.class.getName()}); } catch (RuntimeException e) { throw e; } catch (Exception e) { throw new InternalKernelException(e); } }
697698699700701702703704
try { invokeKernel("unregisterShutdownHook", new Object[] {hook}, new String[] {Runnable.class.getName()}); } catch (RuntimeException e) { throw e; } catch (Exception e) { throw new InternalKernelException(e); } }
707708709710711712713714
try { invokeKernel("shutdown", new Object[] {}, new String[] {}); } catch (RuntimeException e) { throw e; } catch (Exception e) { throw new InternalKernelException(e); } }
719720721722723724725726
} catch (GBeanNotFoundException e) { throw e; } catch (RuntimeException e) { throw e; } catch (Exception e) { throw new InternalKernelException(e); } }
731732733734735736737738
743744745746747748749750
755756757758759760761762
767768769770771772773774
779780781782783784785786
791792793794795796797798