/** * Register this factory with the JVM. May be called more than once. The * implementation ensures that registration only occurs once. * * @return <code>true</code> if the factory is already registered with the * JVM or was successfully registered as a result of this call. * <code>false</code> if the factory was disabled prior to this * call. */ public static boolean register() { return getInstanceInternal(true).isRegistered(); }
/** * Prevent this this factory from registering with the JVM. May be called * more than once. * * @return <code>true</code> if the factory is already disabled or was * successfully disabled as a result of this call. * <code>false</code> if the factory was already registered prior * to this call. */ public static boolean disable() { return !getInstanceInternal(false).isRegistered(); }
/** * Register this factory with the JVM. May be called more than once. The * implementation ensures that registration only occurs once. * * @return <code>true</code> if the factory is already registered with the * JVM or was successfully registered as a result of this call. * <code>false</code> if the factory was disabled prior to this * call. */ public static boolean register() { return getInstanceInternal(true).isRegistered(); }
/** * Prevent this this factory from registering with the JVM. May be called * more than once. * * @return <code>true</code> if the factory is already disabled or was * successfully disabled as a result of this call. * <code>false</code> if the factory was already registered prior * to this call. */ public static boolean disable() { return !getInstanceInternal(false).isRegistered(); }
/** * Register this factory with the JVM. May be called more than once. The * implementation ensures that registration only occurs once. * * @return <code>true</code> if the factory is already registered with the * JVM or was successfully registered as a result of this call. * <code>false</code> if the factory was disabled prior to this * call. */ public static boolean register() { return getInstanceInternal(true).isRegistered(); }
/** * Prevent this this factory from registering with the JVM. May be called * more than once. * * @return <code>true</code> if the factory is already disabled or was * successfully disabled as a result of this call. * <code>false</code> if the factory was already registered prior * to this call. */ public static boolean disable() { return !getInstanceInternal(false).isRegistered(); }