|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object captcha.CaptchaGeneratorFactory
public class CaptchaGeneratorFactory
This class is a factory for creating objects, which implements the CaptchaGenerator interface. This class is a singleton;
Field Summary | |
---|---|
private static CaptchaGeneratorFactory |
ms_cgfInstance
Stores the instance of CaptchaGeneratorFactory (Singleton). |
Constructor Summary | |
---|---|
private |
CaptchaGeneratorFactory()
This creates a new CaptchaGeneratorFactory. |
Method Summary | |
---|---|
ICaptchaGenerator |
getCaptchaGenerator()
Returns an object, which implements the CaptchaGenerator interface. |
static CaptchaGeneratorFactory |
getInstance()
Returns the instance of CaptchaGeneratorFactory (Singleton). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static CaptchaGeneratorFactory ms_cgfInstance
Constructor Detail |
---|
private CaptchaGeneratorFactory()
Method Detail |
---|
public static CaptchaGeneratorFactory getInstance()
public ICaptchaGenerator getCaptchaGenerator()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |