public interface Singleton<T>
Holds a reference to an application singleton. This singleton is used internally by Weld to store various application scoped objects.
This allows Weld to operate as a shared library. In a shared mode, the same instance of Weld implementation is used by all the applications in a server
environment. In the exclusive mode, each application loads a separate copy of Weld implementation at the application level.
Alternative implementations of Singleton can be used as required
- Author:
- Sanjeeb.Sahoo@Sun.COM, Pete Muir
- See Also:
SingletonProvider