/** * Call this on Message broker shutdown ONLY. * Clears the registry and removes the static global registry. */ public static void release() { registry.clear(); preRegister(); // init for restart }
/** * Call this on Message broker shutdown ONLY. * Clears the registry and removes the static global registry. */ public static void release() { registry.clear(); preRegister(); // init for restart }
/** * Returns the static or "application scope" PropertyProxy registry. If * custom sets of PropertyProxies are required in different scopes then * new instances of PropertyProxyRegistry should be manually created, * however these will not be used for serialization. * * @return The global PropertyProxy registry. */ public synchronized static PropertyProxyRegistry getRegistry() { if (registry == null) { registry = new PropertyProxyRegistry(); preRegister(); } return registry; }