Package org.apache.xbean.naming.context

Examples of org.apache.xbean.naming.context.ImmutableFederatedContext$NestedImmutableFederatedContext


        return true;
    }

    protected EjbDeployment initialize(BeanContext deploymentInfo) {
        try {
            ImmutableFederatedContext federatedContext = (ImmutableFederatedContext) ((DeepBindableContext.ContextWrapper)deploymentInfo.getJndiEnc()).getRootContext();
            federatedContext.federateContext(componentContext);
            federatedContext.federateContext(moduleContext);
            federatedContext.federateContext(applicationContext);
            federatedContext.federateContext(globalContext);
            deploymentInfo.set(EjbDeployment.class, this);

            this.deploymentInfo.set(deploymentInfo);

            return this;
View Full Code Here


    @Override
    public Context createComponentContext(Map<String, Object> bindings) throws SystemException {
        try {
            DeepBindableContext context = new DeepBindableContext("", false, true, true, false);
            Context rootContext = new ImmutableFederatedContext("", Collections.<Context>singleton(context));
            return context.newContextWrapper(rootContext);
        } catch (NamingException e) {
            throw new IllegalStateException(e);
        }
//            boolean hasEnv = false;
View Full Code Here

    public static Context createEnterpriseNamingContext(Set<Context> contexts) throws NamingException {
        if (contexts.contains(null)) {
            contexts.remove(null);
        }
        return new ImmutableFederatedContext("java:", contexts);
    }
View Full Code Here

    public static Context createEnterpriseNamingContext(Set<Context> contexts) throws NamingException {
        if (contexts.contains(null)) {
            contexts.remove(null);
        }
        return new ImmutableFederatedContext("java:", contexts);
    }
View Full Code Here

TOP

Related Classes of org.apache.xbean.naming.context.ImmutableFederatedContext$NestedImmutableFederatedContext

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.