Examples of EnvEntryInfo


Examples of org.apache.openejb.assembler.classic.EnvEntryInfo

            //If the the reference name of the environment entry is belong to those shareable JNDI name space, it somewhat is a valid one           
            if (env.getEnvEntryValue() == null && env.getLookupName() == null && !isShareableJNDINamespace(env.getEnvEntryName())) {
                continue;
            }

            final EnvEntryInfo info = new EnvEntryInfo();
            info.referenceName = env.getEnvEntryName();
            info.type = env.getEnvEntryType();
            info.value = env.getEnvEntryValue();
            info.location = buildLocationInfo(env);
            info.targets.addAll(buildInjectionInfos(env));
View Full Code Here

Examples of org.apache.openejb.assembler.classic.EnvEntryInfo

            //If the the reference name of the environment entry is belong to those shareable JNDI name space, it somewhat is a valid one           
            if (env.getEnvEntryValue() == null && env.getLookupName() == null && !isShareableJNDINamespace(env.getEnvEntryName())) {
                continue;
            }

            EnvEntryInfo info = new EnvEntryInfo();

            info.referenceName = env.getEnvEntryName();
            info.type = env.getEnvEntryType();
            info.value = env.getEnvEntryValue();
            info.location = buildLocationInfo(env);
View Full Code Here

Examples of org.apache.openejb.assembler.classic.EnvEntryInfo

            //If the the reference name of the environment entry is belong to those shareable JNDI name space, it somewhat is a valid one           
            if (env.getEnvEntryValue() == null && env.getLookupName() == null && !isShareableJNDINamespace(env.getEnvEntryName())) {
                continue;
            }

            EnvEntryInfo info = new EnvEntryInfo();

            info.referenceName = env.getEnvEntryName();
            info.type = env.getEnvEntryType();
            info.value = env.getEnvEntryValue();
            info.location = buildLocationInfo(env);
View Full Code Here

Examples of org.apache.openejb.assembler.classic.EnvEntryInfo

                    JndiEncInfo jndiEnc = bean.jndiEnc;
                    out(2, "jndiEnc        ", jndiEnc);
                    out(2, "envEntries     ", jndiEnc.envEntries.size());
                    for (ListIterator<EnvEntryInfo> iterator = jndiEnc.envEntries.listIterator(); iterator.hasNext();) {
                        EnvEntryInfo envEntry = iterator.next();
                        out(3, "--[" + iterator.previousIndex() + "]----------------------");
                        out(3, "name  ", envEntry.referenceName);
                        out(3, "type  ", envEntry.type);
                        out(3, "value ", envEntry.value);
                    }
View Full Code Here

Examples of org.apache.openejb.assembler.classic.EnvEntryInfo

            //If the the reference name of the environment entry is belong to those shareable JNDI name space, it somewhat is a valid one           
            if (env.getEnvEntryValue() == null && env.getLookupName() == null && !isShareableJNDINamespace(env.getEnvEntryName())) {
                continue;
            }

            EnvEntryInfo info = new EnvEntryInfo();

            info.referenceName = env.getEnvEntryName();
            info.type = env.getEnvEntryType();
            info.value = env.getEnvEntryValue();
            info.location = buildLocationInfo(env);
View Full Code Here

Examples of org.apache.openejb.assembler.classic.EnvEntryInfo

        assertEquals("Resource.referenceAuth", "CONTAINER", resource.referenceAuth);

    }

    private void assertEnvEntry(Map<String, EnvEntryInfo> entries, String name, String type, String value) {
        EnvEntryInfo entryInfo = entries.get(name);
        assertNotNull(name, entryInfo);
        assertEquals(name + ".type", type, entryInfo.type);
        assertEquals(name + ".value", value, entryInfo.value);
    }
View Full Code Here

Examples of org.apache.openejb.assembler.classic.EnvEntryInfo

        assertEquals(name + ".type", type, entryInfo.type);
        assertEquals(name + ".value", value, entryInfo.value);
    }
   
    private void assertEnvEntryLookup(Map<String, EnvEntryInfo> entries, String name, String type, String lookup) {
        EnvEntryInfo entryInfo = entries.get(name);
        assertNotNull(name, entryInfo);
        assertEquals(name + ".type", type, entryInfo.type);
        assertNull(name + ".value", entryInfo.value);
        assertNotNull(name + ".location", entryInfo.location);
        assertEquals(name + ".location.jndiName", lookup, entryInfo.location.jndiName);       
View Full Code Here

Examples of org.apache.tuscany.sca.contribution.jee.EnvEntryInfo

                    for(Map.Entry<String, EjbReferenceInfo> entry : ejbInfo.ejbReferences.entrySet()) {
                        EjbReferenceInfo ejbRef = entry.getValue();
                        implementation.getOptExtensionReferenceInjectionPoints().put(ejbRef.injectionTarget, ejbRef.businessInterface);
                    }
                    for(Map.Entry<String, EnvEntryInfo> entry : ejbInfo.envEntries.entrySet()) {
                        EnvEntryInfo envEntry = entry.getValue();
                        if(propertyNames.contains(envEntry.name.replace("/", "_"))) {
                            implementation.getOptExtensionPropertyInjectionPoints().put(envEntry.name, envEntry.type);
                        }
                    }
                }
View Full Code Here

Examples of org.apache.tuscany.sca.contribution.jee.EnvEntryInfo

            componentType.getReferences().add(reference);
        }
       
        // Process env-entries to compute properties
        for (Map.Entry<String, EnvEntryInfo> entry : webModule.getEnvEntries().entrySet()) {
            EnvEntryInfo envEntry = entry.getValue();
            String type = envEntry.type;
            if (!ALLOWED_ENV_ENTRY_TYPES.containsKey(type)) {
                continue;
            }
            String propertyName = envEntry.name;
View Full Code Here

Examples of org.apache.tuscany.sca.contribution.jee.EnvEntryInfo

            componentType.getReferences().add(reference);
        }
       
        // Process env-entries to compute properties
        for (Map.Entry<String, EnvEntryInfo> entry : ejbInfo.envEntries.entrySet()) {
            EnvEntryInfo envEntry = entry.getValue();
            String type = envEntry.type;
            if (!ALLOWED_ENV_ENTRY_TYPES.containsKey(type)) {
                continue;
            }
            String propertyName = envEntry.name;
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.