Examples of EnvEntryInfo


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

            if (env.getEnvEntryType() == null){
                // TODO: Maybe Move this into the EnvEntry class
                env.setEnvEntryType("java.lang.String");
            }
           
            EnvEntryInfo info = new EnvEntryInfo();

            info.name = 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.name);
                        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;
            }

            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

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

    }

    private void assertEnvEntry(final Map<String, EnvEntryInfo> entries, final String name, final String type, final String value) {
        final 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(final Map<String, EnvEntryInfo> entries, final String name, final String type, final String lookup) {
        final 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.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.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

        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
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.