Package org.knowhowlab.osgi.jmx.beans

Examples of org.knowhowlab.osgi.jmx.beans.ServiceAbstractMBean


        public void removedService(ServiceReference reference, Object service) {
            long serviceId = getServiceReferenceId(reference);
            try {
                String objectName = createObjectName(objectNamePrefix, serviceId);
                ServiceAbstractMBean serviceMBean = compendiumServices.get(objectName);
                server.unregisterMBean(new ObjectName(objectName));
                serviceMBean.uninit();
                info("MBean unregistered for " + beanClass.getSimpleName() + " service.id: " + serviceId, null);
            } catch (Exception e) {
                warning("Unable to unregister MBean for " + beanClass.getSimpleName() + " service.id: " + serviceId, e);
            }
View Full Code Here

TOP

Related Classes of org.knowhowlab.osgi.jmx.beans.ServiceAbstractMBean

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.