Package org.reflections

Examples of org.reflections.Store$IterableChain


                        new TypeAnnotationsScanner(),
                        //new SubTypesScanner(),
                        propScanner
                );

        store = new Store();

        //inject to scanners
        for (Scanner scanner : configuration.getScanners()) {
            scanner.setConfiguration(configuration);
            scanner.setStore(store.get(scanner.getClass()));
View Full Code Here


     */
    public static void printSotreMap(Reflections reflections) {

        LOGGER.info("Now we will print store map......");

        Store store = reflections.getStore();
        Map<String/* indexName */, Multimap<String, String>> storeMap = store
                .getStoreMap();
        for (String indexName : storeMap.keySet()) {

            LOGGER.info("====================================");
            LOGGER.info("indexName:" + indexName);
View Full Code Here

            throw new RuntimeException();
        }
    }

    private Document createDocument(final Reflections reflections) {
        Store map = reflections.getStore();

        Document document = DocumentFactory.getInstance().createDocument();
        Element root = document.addElement("Reflections");
        for (String indexName : map.keySet()) {
            Element indexElement = root.addElement(indexName);
            for (String key : map.get(indexName).keySet()) {
                Element entryElement = indexElement.addElement("entry");
                entryElement.addElement("key").setText(key);
                Element valuesElement = entryElement.addElement("values");
                for (String value : map.get(indexName).get(key)) {
                    valuesElement.addElement("value").setText(value);
                }
            }
        }
        return document;
View Full Code Here

     */
    public static void printSotreMap(Reflections reflections) {

        LOGGER.info("Now we will print store map......");

        Store store = reflections.getStore();
        Map<String/* indexName */, Multimap<String, String>> storeMap = store
                .getStoreMap();
        for (String indexName : storeMap.keySet()) {

            LOGGER.info("====================================");
            LOGGER.info("indexName:" + indexName);
View Full Code Here

                        new TypeAnnotationsScanner(),
                        //new SubTypesScanner(),
                        propScanner
                );

        store = new Store();

        //inject to scanners
        for (Scanner scanner : configuration.getScanners()) {
            scanner.setConfiguration(configuration);
            scanner.setStore(store.get(scanner.getClass()));
View Full Code Here

TOP

Related Classes of org.reflections.Store$IterableChain

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.