Package com.jetdrone.vertx.yoke.jmx

Examples of com.jetdrone.vertx.yoke.jmx.ContextMBean


        defaultContext.put("trust-proxy", true);
        store = new SharedDataSessionStore(vertx, "yoke.sessiondata");

        // register on JMX
        try {
            mbs.registerMBean(new ContextMBean(defaultContext), new ObjectName("com.jetdrone.yoke:instance=@" + hashCode() + ",type=DefaultContext@" + defaultContext.hashCode()));
        } catch (InstanceAlreadyExistsException e) {
            // ignore
        } catch (MalformedObjectNameException | MBeanRegistrationException | NotCompliantMBeanException e) {
            throw new RuntimeException(e);
        }
View Full Code Here

TOP

Related Classes of com.jetdrone.vertx.yoke.jmx.ContextMBean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.