Package org.apache.openejb.core.ivm

Examples of org.apache.openejb.core.ivm.ContextHandler


            }

            for (final AppContext appContext : containerSystem.getAppContexts()) {
                for (final WebContext web : appContext.getWebContexts()) { // more specific first
                    if (current.equals(web.getClassLoader())) {
                        return new ContextHandler(web.getJndiEnc());
                    }
                }
                if (current.equals(appContext.getClassLoader())) {
                    return new ContextHandler(appContext.getAppJndiContext());
                }
            }

            return globalContext;
        }
View Full Code Here


        if (beanClass == null) {
            throw new NullPointerException("beanClass input parameter is null");
        }

        this.moduleContext = moduleContext;
        this.jndiContext = new ContextHandler(jndiContext);
        this.localbean = localBean;
        this.componentType = componentType;
        this.beanClass = beanClass;

        final String interceptors = SystemInstance.get().getProperties().getProperty(USER_INTERCEPTOR_KEY);
View Full Code Here

        if (beanClass == null) {
            throw new NullPointerException("beanClass input parameter is null");
        }

        this.moduleContext = moduleContext;
        this.jndiContext = new ContextHandler(jndiContext);
        this.localbean = localBean;
        this.componentType = componentType;
        this.beanClass = beanClass;
        this.passivable = passivable;
View Full Code Here

        if (beanClass == null) {
            throw new NullPointerException("beanClass input parameter is null");
        }

        this.moduleContext = moduleContext;
        this.jndiContext = new ContextHandler(jndiContext);
        this.localbean = localBean;
        this.componentType = componentType;
        this.beanClass = beanClass;

        final String interceptors = SystemInstance.get().getProperties().getProperty(USER_INTERCEPTOR_KEY);
View Full Code Here

        if (beanClass == null) {
            throw new NullPointerException("beanClass input parameter is null");
        }

        this.moduleContext = moduleContext;
        this.jndiContext = new ContextHandler(jndiContext);
        this.localbean = localBean;
        this.componentType = componentType;
        this.beanClass = beanClass;

        final String interceptors = SystemInstance.get().getProperties().getProperty(USER_INTERCEPTOR_KEY);
View Full Code Here

            }

            for (final AppContext appContext : containerSystem.getAppContexts()) {
                for (final WebContext web : appContext.getWebContexts()) { // more specific first
                    if (current.equals(web.getClassLoader())) {
                        return new ContextHandler(web.getJndiEnc());
                    }
                }
                if (current.equals(appContext.getClassLoader())) {
                    return new ContextHandler(appContext.getAppJndiContext());
                }
            }

            return globalContext;
        }
View Full Code Here

        if (beanClass == null) {
            throw new NullPointerException("beanClass input parameter is null");
        }

        this.moduleContext = moduleContext;
        this.jndiContext = new ContextHandler(jndiContext);
        this.localbean = localBean;
        this.componentType = componentType;
        this.beanClass = beanClass;

        final String interceptors = SystemInstance.get().getProperties().getProperty(USER_INTERCEPTOR_KEY);
View Full Code Here

        if (beanClass == null) {
            throw new NullPointerException("beanClass input parameter is null");
        }

        this.moduleContext = moduleContext;
        this.jndiContext = new ContextHandler(jndiContext);
        this.localbean = localBean;
        this.componentType = componentType;
        this.beanClass = beanClass;
        this.passivable = passivable;
View Full Code Here

TOP

Related Classes of org.apache.openejb.core.ivm.ContextHandler

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.