@Override public void stopThread() { manager.stopThread(); } @Override
/** * This method can be used to ensure that no threaded created * by a reference manager will be active. This is useful if the Groovy * runtime itself is loaded through a class loader which should be disposed * off. Without calling this method and if a threaded reference manager is * active the class loader cannot be unloaded! * * Per default no threaded manager will be used. * * @since 1.6 */ public static void stopThreadedReferenceManager() { ReferenceBundle.getSoftBundle().getManager().stopThread(); ReferenceBundle.getWeakBundle().getManager().stopThread(); }
/** * This method can be used to ensure that no threaded created * by a reference manager will be active. This is useful if the Groovy * runtime itself is loaded through a class loader which should be disposed * off. Without calling this method and if a threaded reference manager is * active the class loader cannot be unloaded! * * Per default no threaded manager will be used. * * @since 1.6 */ public static void stopThreadedReferenceManager() { ReferenceBundle.getSoftBundle().getManager().stopThread(); ReferenceBundle.getWeakBundle().getManager().stopThread(); }
/** * This method can be used to ensure that no threaded created * by a reference manager will be active. This is useful if the Groovy * runtime itself is loaded through a class loader which should be disposed * off. Without calling this method and if a threaded reference manager is * active the class loader cannot be unloaded! * * Per default no threaded manager will be used. * * @since 1.6 */ public static void stopThreadedReferenceManager() { ReferenceBundle.getSoftBundle().getManager().stopThread(); ReferenceBundle.getWeakBundle().getManager().stopThread(); } }
/** * This method can be used to ensure that no threaded created * by a reference manager will be active. This is useful if the Groovy * runtime itself is loaded through a class loader which should be disposed * off. Without calling this method and if a threaded reference manager is * active the class loader cannot be unloaded! * * Per default no threaded manager will be used. * * @since 1.6 */ public static void stopThreadedReferenceManager() { ReferenceBundle.getSoftBundle().getManager().stopThread(); ReferenceBundle.getWeakBundle().getManager().stopThread(); }