|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Factory class provides a method to instantiate an object.
Every factory must support a call on newInstance. Each factory should override the newInstance method to appropriately instantiate and initialize an instance of an object.
Each Factroy should have a null constructor.
Method Summary | |
java.lang.Object |
getInstance()
Instantiates an object. |
Method Detail |
public java.lang.Object getInstance()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |