|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
IContext | Interface that can optionally be implemented by a context for use
with the OnePerContextManager facility. |
IOnePerContext | Interface that may optionally be implemented by one-per-context classes. |
IOnePerContextManager | Interface implemented by the OnePerContextManager class. |
IOnePerContextManager.IInitializer | Interface to be implemented by classes that are registered as initializers via IOnePerContextManager.addInitializer(int, org.jpu.patterns.singleton.onePerContext.IOnePerContextManager.IInitializer) . |
IOnePerContextManager.IInstantiator | Interface to be implemented by classes that are registered as instantiators via IOnePerContextManager.setInstantiator(org.jpu.patterns.singleton.onePerContext.IOnePerContextManager.IInstantiator) . |
Class Summary | |
OnePerContextManager | This class and its associated interfaces implement a pattern that is a variant of Singleton intended for situations where you need one instance of the class per "context", rather than one per classloader as is the case with traditional singletons. |
OnePerContextManager.DefaultInstantiator | Default implementation of IOnePerContextManager.IInstantiator . |
SimpleContext |
Utilities related to the "OnePerContext" variant of Singleton.
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |