Package org.jboss.as.naming

Examples of org.jboss.as.naming.InitialContextFactoryBuilder


    public void startSystemServices(StartContext startContext, BundleContext systemContext) {
        NamingStore namingStore = injectedNamingStore.getOptionalValue();
        if (namingStore != null) {
            // Register the {@link InitialContextFactoryBuilder} service
            String[] classes = new String[] {javax.naming.spi.InitialContextFactoryBuilder.class.getName(), InitialContextFactoryBuilder.class.getName()};
            systemContext.registerService(classes, new InitialContextFactoryBuilder(), null);

            // Register the JNDI service listener
            jndiServiceListener = new JNDIServiceListener(systemContext);
            try {
                String filter = "(" + Constants.OBJECTCLASS + "=" + ObjectFactory.class.getName() + ")";
View Full Code Here

TOP

Related Classes of org.jboss.as.naming.InitialContextFactoryBuilder

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.