| java.lang.Object org.apache.geronimo.kernel.config.ConfigurationUtil
ConfigurationUtil | final public class ConfigurationUtil (Code) | | version: $Rev:386276 $ $Date: 2008-01-28 10:41:48 -0800 (Mon, 28 Jan 2008) $ |
Method Summary | |
public static ConfigurationMarshaler | createConfigurationMarshaler(String marshalerClass) | public static ConfigurationManager | getConfigurationManager(Kernel kernel) Gets a reference or proxy to the ConfigurationManager running in the specified kernel. | public static AbstractName | getConfigurationManagerName(Kernel kernel) Gets the name of the ConfigurationManager running in the specified kernel. | public static EditableConfigurationManager | getEditableConfigurationManager(Kernel kernel) Gets a reference or proxy to an EditableConfigurationManager running in the specified kernel, if there is one. | public static AbstractName | loadBootstrapConfiguration(Kernel kernel, InputStream in, ClassLoader classLoader) | public static AbstractName | loadBootstrapConfiguration(Kernel kernel, InputStream in, ClassLoader classLoader, boolean enableBootRepo) | public static AbstractName | loadBootstrapConfiguration(Kernel kernel, ConfigurationData configurationData, ClassLoader classLoader) | public static AbstractName | loadBootstrapConfiguration(Kernel kernel, ConfigurationData configurationData, ClassLoader classLoader, boolean enableBootRepo) | public static GBeanState | newGBeanState(Collection gbeans) | static void | preprocessGBeanData(AbstractName configurationName, Configuration configuration, GBeanData gbeanData) | public static ConfigurationData | readConfigurationData(InputStream in) | public static ConfigurationInfo | readConfigurationInfo(InputStream in, AbstractName storeName, File inPlaceLocation) | public static void | releaseConfigurationManager(Kernel kernel, ConfigurationManager configurationManager) | static void | startConfigurationGBeans(AbstractName configurationName, Configuration configuration, Kernel kernel) | public static void | writeConfigInfo(PrintWriter writer, ConfigurationData configurationData) | public static void | writeConfigurationData(ConfigurationData configurationData, OutputStream out) |
getConfigurationManager | public static ConfigurationManager getConfigurationManager(Kernel kernel)(Code) | | Gets a reference or proxy to the ConfigurationManager running in the specified kernel.
The ConfigurationManager throws: IllegalStateException - Occurs if a ConfigurationManager cannot be identified |
getConfigurationManagerName | public static AbstractName getConfigurationManagerName(Kernel kernel)(Code) | | Gets the name of the ConfigurationManager running in the specified kernel.
Its AbstractName throws: IllegalStateException - Occurs if a ConfigurationManager cannot be identified |
getEditableConfigurationManager | public static EditableConfigurationManager getEditableConfigurationManager(Kernel kernel)(Code) | | Gets a reference or proxy to an EditableConfigurationManager running in the specified kernel, if there is one.
The EdtiableConfigurationManager, or none if there is not one available. throws: IllegalStateException - Occurs if there are multiple EditableConfigurationManagers in the kernel. |
|
|