|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.monoserv.patterns.Singleton
public abstract class Singleton
This is a simple implementation of a Singleton. Needs to be improved upon.
Constructor Summary | |
---|---|
protected |
Singleton()
Hide the constructor so no one can instantiate the object. |
Method Summary | |
---|---|
abstract java.lang.Object |
getInstance()
Returns the "one-and-only" instance of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Singleton()
Method Detail |
---|
public abstract java.lang.Object getInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |