* store the new singleton; note that a
* null value is saved if construction failed
*/
- setInstance(c, o);
+ getContextMap().put(c, o);
return o;
}
- public static void setInstance(Class<? extends ApplicationSingletonI> c,
- ApplicationSingletonI o)
- {
- getContextMap().put(c, o);
- }
/**
* Removes the current singleton instance of the given class from the current
* application context. This has the effect of ensuring that a new instance is