org.yajul.micro
Class SingletonManager
java.lang.Object
org.yajul.micro.SingletonManager
public class SingletonManager
- extends java.lang.Object
One singleton to rule them all. This is actually a single level hierarchy of micro-containers.
The parent contains all the YAJUL singletons. The
User: josh
Date: Mar 5, 2008
Time: 10:37:22 AM
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BOOTSTRAP_RESOURCE_NAME
public static final java.lang.String BOOTSTRAP_RESOURCE_NAME
- The resource that the bootstrapper looks for.
- See Also:
- Constant Field Values
getInstance
public static SingletonManager getInstance()
getSingletonContainer
public static org.picocontainer.PicoContainer getSingletonContainer(java.lang.String context)
getDefaultSingleton
public static <T> T getDefaultSingleton(java.lang.Class<T> componentType)
defaultContainer
public static MicroContainer defaultContainer()
getDefaultContainer
public MicroContainer getDefaultContainer()
Copyright © 2008. All Rights Reserved.