com.octo.captcha.module.jmx
Class JMXRegistrationHelper

java.lang.Object
  extended by com.octo.captcha.module.jmx.JMXRegistrationHelper

public class JMXRegistrationHelper
extends java.lang.Object

Helper that providdes methods to register and unregister a ManageableCaptchaService to a MBean Server.


Constructor Summary
JMXRegistrationHelper()
           
 
Method Summary
static void registerToMBeanServer(ManageableCaptchaService service, java.lang.String name)
           
static void unregisterFromMBeanServer(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMXRegistrationHelper

public JMXRegistrationHelper()
Method Detail

registerToMBeanServer

public static void registerToMBeanServer(ManageableCaptchaService service,
                                         java.lang.String name)
                                  throws CaptchaServiceException
Throws:
CaptchaServiceException

unregisterFromMBeanServer

public static void unregisterFromMBeanServer(java.lang.String name)


Copyright 2003-2009 JCaptcha. All Rights Reserved.