Examples of uninit()


Examples of org.knowhowlab.osgi.jmx.beans.ServiceAbstractMBean.uninit()

            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
Copyright © 2018 www.massapi.com. 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.