Examples of ProviderRegistry


Examples of org.apache.geronimo.osgi.registry.api.ProviderRegistry

        BundleContext bundleContext = bundle.getBundleContext();
        ServiceReference serviceReference = null;
        try {
            serviceReference = bundleContext.getServiceReference("org.apache.geronimo.osgi.registry.api.ProviderRegistry");
            if (serviceReference != null) {
                ProviderRegistry registry = (ProviderRegistry) bundleContext.getService(serviceReference);
                return registry.getServiceClasses(providerid);
            }
            return Collections.<Class<?>>emptyList();
        } finally {
            if (serviceReference != null) {
                try {
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.