Package com.sun.enterprise.module.common_impl

Examples of com.sun.enterprise.module.common_impl.CompositeEnumeration


            List<Enumeration<URL>> enumerators = new ArrayList<Enumeration<URL>>();
            enumerators.add(findResources(name));
            // Either requested resource belongs to java/ namespace or
            // it was not found in any of the bundles, so delegate to parent.
            enumerators.add(getParent_().getResources(name));
            return new CompositeEnumeration(enumerators);
        }
View Full Code Here


                    // punch in for META-INF/mailcap files. see issue #8426
                    List<Enumeration<URL>> enumerators = new ArrayList<Enumeration<URL>>();
                    for (Module m : mr.getModules()) {
                        enumerators.add(m.getClassLoader().getResources(name));
                    }
                    return new CompositeEnumeration(enumerators);
                } else {
                    return apiModuleLoader.getResources(name);
                }
            }
            return Collections.enumeration(Collections.<URL>emptyList());
View Full Code Here

TOP

Related Classes of com.sun.enterprise.module.common_impl.CompositeEnumeration

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.