Examples of ORBReference


Examples of org.apache.geronimo.naming.reference.ORBReference

                }
                AbstractNameQuery corbaName = corbaGBeanNameSource.getCorbaGBeanName();
                if (corbaName != null) {
                    Artifact[] moduleId = module.getConfigId();
                    Map context = getJndiContextMap(componentContext);
                    context.put(ENV + name, new ORBReference(moduleId, corbaName));
                    EnvironmentBuilder.mergeEnvironments(module.getEnvironment(), corbaEnvironment);
                }
            } else {
                //determine jsr-77 type from interface
                String j2eeType;
View Full Code Here

Examples of org.apache.geronimo.naming.reference.ORBReference

    public void addUserTransaction(UserTransaction userTransaction) {
        context.put("UserTransaction", userTransaction);
    }

    public void addORB(Artifact configId, AbstractNameQuery corbaGBeanObjectName) {
        context.put("ORB", new ORBReference(configId, corbaGBeanObjectName));
    }
View Full Code Here

Examples of org.apache.geronimo.naming.reference.ORBReference

            if (corbaGBeanNameSource != null) {
                AbstractNameQuery corbaName = corbaGBeanNameSource.getCorbaGBeanName();
                if (corbaName != null) {
                    Artifact[] moduleId = module.getConfigId();
                    Map context = getJndiContextMap(componentContext);
                    context.put("ORB", new ORBReference(moduleId, corbaName));
                    context.put("HandleDelegate", new HandleDelegateReference(moduleId, corbaName));
                }
            }
        }
    }
View Full Code Here

Examples of org.apache.geronimo.naming.reference.ORBReference

                }
                AbstractNameQuery corbaName = corbaGBeanNameSource.getCorbaGBeanName();
                if (corbaName != null) {
                    Artifact[] moduleId = module.getConfigId();
                    Map context = getJndiContextMap(componentContext);
                    context.put(ENV + name, new ORBReference(moduleId, corbaName));
                    unresolvedRefs.remove(name);
                    EnvironmentBuilder.mergeEnvironments(module.getEnvironment(), corbaEnvironment);
                }
            } else {
                //determine jsr-77 type from interface
View Full Code Here

Examples of org.apache.geronimo.naming.reference.ORBReference

                }
                AbstractNameQuery corbaName = corbaGBeanNameSource.getCorbaGBeanName();
                if (corbaName != null) {
                    Artifact[] moduleId = module.getConfigId();
                    Map context = getJndiContextMap(componentContext);
                    context.put(ENV + name, new ORBReference(moduleId, corbaName));
                    unresolvedRefs.remove(name);
                    EnvironmentBuilder.mergeEnvironments(module.getEnvironment(), corbaEnvironment);
                }
            } else {
                //determine jsr-77 type from interface
View Full Code Here

Examples of org.apache.geronimo.naming.reference.ORBReference

            }
            AbstractNameQuery corbaName = corbaGBeanNameSource.getCorbaGBeanName();
            if (corbaName != null) {
                Artifact[] moduleId = module.getConfigId();
                EnvironmentBuilder.mergeEnvironments(module.getEnvironment(), corbaEnvironment);
                return new ORBReference(moduleId, corbaName);
            }
        } else if (iface.isAnnotationPresent(ManagedBean.class)) {
            ManagedBean managed = iface.getAnnotation(ManagedBean.class);
            String beanName = managed.value().length() == 0 ? iface.getSimpleName() : managed.value();
            if (iface != null) {
View Full Code Here

Examples of org.apache.geronimo.naming.reference.ORBReference

            CorbaGBeanNameSource corbaGBeanNameSource = corbaGBeanNameSourceCollection.getElement();
            if (corbaGBeanNameSource != null) {
                AbstractNameQuery corbaName = corbaGBeanNameSource.getCorbaGBeanName();
                if (corbaName != null) {
                    Artifact[] moduleId = module.getConfigId();
                    put("java:comp/ORB", new ORBReference(moduleId, corbaName), ReferenceType.ORB, module.getJndiContext(), Collections.<InjectionTarget>emptySet(), sharedContext);
                    put("java:comp/HandleDelegate", new HandleDelegateReference(moduleId, corbaName), ReferenceType.HANDLEDELEGATE, module.getJndiContext(), Collections.<InjectionTarget>emptySet(), sharedContext);
                }
            }
        }
    }
View Full Code Here

Examples of org.apache.geronimo.naming.reference.ORBReference

    public void addUserTransaction(UserTransaction userTransaction) {
        context.put("UserTransaction", userTransaction);
    }

    public void addORB(ObjectName corbaGBeanObjectName) {
        context.put("ORB", new ORBReference(corbaGBeanObjectName));
    }
View Full Code Here

Examples of org.apache.geronimo.naming.reference.ORBReference

                }
                AbstractNameQuery corbaName = corbaGBeanNameSource.getCorbaGBeanName();
                if (corbaName != null) {
                    Artifact[] moduleId = module.getConfigId();
                    Map context = getJndiContextMap(componentContext);
                    context.put(ENV + name, new ORBReference(moduleId, corbaName));
                }
            } else {
                //determine jsr-77 type from interface
                String j2eeType;
View Full Code Here

Examples of org.apache.geronimo.naming.reference.ORBReference

                }
                AbstractNameQuery corbaName = corbaGBeanNameSource.getCorbaGBeanName();
                if (corbaName != null) {
                    Artifact[] moduleId = module.getConfigId();
                    Map context = getJndiContextMap(componentContext);
                    context.put(ENV + name, new ORBReference(moduleId, corbaName));
                }
            } else {
                //determine jsr-77 type from interface
                String j2eeType;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.