Examples of listStores()


Examples of org.apache.geronimo.kernel.config.ConfigurationManager.listStores()

        DocumentBuilder builder = factory.newDocumentBuilder();
        Document doc = builder.newDocument();
        Element root = doc.createElementNS("http://geronimo.apache.org/xml/ns/plugins-1.1", "geronimo-plugin-list");
        root.setAttribute("xmlns", "http://geronimo.apache.org/xml/ns/plugins-1.1");
        doc.appendChild(root);
        List stores = mgr.listStores();
        for (int i = 0; i < stores.size(); i++) {
            AbstractName name = (AbstractName) stores.get(i);
            List configs = mgr.listConfigurations(name);
            for (int j = 0; j < configs.size(); j++) {
                ConfigurationInfo info = (ConfigurationInfo) configs.get(j);
View Full Code Here

Examples of org.apache.geronimo.kernel.config.ConfigurationManager.listStores()

            configurationData.addGBean(adminObjectData);


            ConfigurationManager configurationManager = ConfigurationUtil
                    .getConfigurationManager(kernel);
            List stores = configurationManager.listStores();
            if (stores.isEmpty()) {
                throw new PortletException("No configuration store");
            }
            ObjectName storeName = (ObjectName) stores.get(0);
            File installDir = (File) kernel.invoke(storeName, "createNewConfigurationDir");
View Full Code Here

Examples of org.apache.geronimo.kernel.config.ConfigurationManager.listStores()

            configurationData.addGBean(adminObjectData);


            ConfigurationManager configurationManager = ConfigurationUtil
                    .getConfigurationManager(kernel);
            List stores = configurationManager.listStores();
            if (stores.isEmpty()) {
                throw new PortletException("No configuration store");
            }
            ObjectName storeName = (ObjectName) stores.get(0);
            File installDir = (File) kernel.invoke(storeName, "createNewConfigurationDir");
View Full Code Here

Examples of org.apache.geronimo.kernel.config.ConfigurationManager.listStores()

        return kernel.getAbstractNameFor(component);
    }

    public ConfigurationData[] getConfigurations(ConfigurationModuleType type, boolean includeChildModules) {
        ConfigurationManager mgr = ConfigurationUtil.getConfigurationManager(kernel);
        List<AbstractName> stores = mgr.listStores();
        List<ConfigurationData> results = new ArrayList<ConfigurationData>();
        for (AbstractName storeName : stores) {
            try {
                List<ConfigurationInfo> infos = mgr.listConfigurations(storeName);
                for (ConfigurationInfo info : infos) {
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.