|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Singleton
A marker interface to identify classes that have only one instance per VM. A class implementing this interface should also allow access to the its instance by providing at least one of:
public static Object getInstance ()public static Object getSingletonInstance ()public static final [classname]INSTANCE
Beans.getSingletonInstance(java.lang.Class)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||