DefaultManageableImageCaptchaService Singleton Reference on the ImageCaptchaService Interface?

Description

Hi,

I'm noticing in the 5 minute integration tutorial that it's necessary to create a CaptchaServiceSingleton class.

Seems like it would be helpful to have a reference to this singleton on the the ImageCaptchaService interface. Could be implemented like this:

public ImageCaptchaService ICS_INSTANCE =
new com.octo.captcha.service.image.DefaultManageableImageCaptchaService();

This way any class that wants the service just has to implement ImageCaptchaService and use the implementation singleton per the ICS_INSTANCE reference.

Thanks for JCAPTCHA. It's a brilliant project!

Ole

Environment

None

Assignee

Unassigned

Reporter

Ole Ersoy

Labels

None

Priority

Trivial
Configure