Package org.apache.shale.test.mock

Examples of org.apache.shale.test.mock.MockApplication12


        }

        // Create the variables we will need
        List descriptors = new ArrayList();
        FacesContext fcontext = (FacesContext) context.getContext(FacesContext.class);
        MockApplication12 application =
                (MockApplication12) fcontext.getApplication();
        String key = null;
        Object value = null;

        // Create a feature descriptor for each configured resource bundle
        Iterator entries = application.getResourceBundles().entrySet().iterator();
        while (entries.hasNext()) {
            Entry entry = (Entry) entries.next();
            key = (String) entry.getKey();
            value = entry.getValue();
            descriptors.add(descriptor(key, key, "Resource Bundle " + key,
View Full Code Here

TOP

Related Classes of org.apache.shale.test.mock.MockApplication12

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.