Package com.dotcms.repackage.org.osgi.framework

Examples of com.dotcms.repackage.org.osgi.framework.ServiceReference


        initializeServices( context );

        //REGISTERING A SIMPLE SERVLET IN ORDER TO TEST THE TUCKEY REWRITE TOOLS

        //Service reference to ExtHttpService that will allows to register servlets and filters
        ServiceReference sRef = context.getServiceReference( ExtHttpService.class.getName() );
        if ( sRef != null ) {

            ExtHttpService httpService = (ExtHttpService) context.getService( sRef );
            try {
                //Registering a simple test servlet
View Full Code Here


                tracker.close();
                OSGIProxyServlet.tracker = null;
            }

            //Unregistering ToolBox services
            ServiceReference toolBoxService = getBundleContext().getServiceReference( PrimitiveToolboxManager.class.getName() );
            if ( toolBoxService != null ) {
                bundleContext.ungetService( toolBoxService );
            }

            //Unregistering Workflow services
            ServiceReference workflowService = getBundleContext().getServiceReference( WorkflowAPIOsgiService.class.getName() );
            if ( workflowService != null ) {
                bundleContext.ungetService( workflowService );
            }

            // Stop felix
View Full Code Here

TOP

Related Classes of com.dotcms.repackage.org.osgi.framework.ServiceReference

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.