Package org.rioproject.impl.jmx

Examples of org.rioproject.impl.jmx.GenericMBeanInvoker


            }
        }

        void createAndRegisterWatch() {
            SamplingWatch watch = new SamplingWatch(wDesc.getName(), config);
            GenericMBeanInvoker mbi = new GenericMBeanInvoker();
            mbi.setObjectName(oName);
            mbi.setAttribute(wDesc.getAttribute());
            mbi.setMBeanServerConnection(wDesc.getMBeanServerConnection());
            watch.setBean(mbi);
            watch.setProperty(GenericMBeanInvoker.GETTER);
            watch.setPeriod(wDesc.getPeriod());
            watch.start();
            context.getWatchRegistry().register(watch);
View Full Code Here

TOP

Related Classes of org.rioproject.impl.jmx.GenericMBeanInvoker

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.