Package org.apache.karaf.jndi.internal

Examples of org.apache.karaf.jndi.internal.JndiServiceImpl


    protected void doStart() throws Exception {
        ProxyManager proxyManager = getTrackedService(ProxyManager.class);

        register(InitialContextFactory.class, new KarafInitialContextFactory());

        JndiServiceImpl service = new JndiServiceImpl();
        service.setBundleContext(bundleContext);
        service.setProxyManager(proxyManager);
        Hashtable<String, String> props = new Hashtable<String, String>();
        // bind the JNDI service itself in the JNDI context
        props.put("osgi.jndi.service.name", "jndi");
        register(JndiService.class, service, props);
        JndiMBeanImpl mbean = new JndiMBeanImpl();
View Full Code Here

TOP

Related Classes of org.apache.karaf.jndi.internal.JndiServiceImpl

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.