|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.kernel.config.ConfigurationUtil
public final class ConfigurationUtil
Method Summary | |
---|---|
static ConfigurationMarshaler |
createConfigurationMarshaler(String marshalerClass)
|
static ConfigurationManager |
getConfigurationManager(Kernel kernel)
Gets a reference or proxy to the ConfigurationManager running in the specified kernel. |
static AbstractName |
getConfigurationManagerName(Kernel kernel)
Gets the name of the ConfigurationManager running in the specified kernel. |
static EditableConfigurationManager |
getEditableConfigurationManager(Kernel kernel)
Gets a reference or proxy to an EditableConfigurationManager running in the specified kernel, if there is one. |
static AbstractName |
loadBootstrapConfiguration(Kernel kernel,
ConfigurationData configurationData,
ClassLoader classLoader)
|
static AbstractName |
loadBootstrapConfiguration(Kernel kernel,
ConfigurationData configurationData,
ClassLoader classLoader,
boolean enableBootRepo)
|
static AbstractName |
loadBootstrapConfiguration(Kernel kernel,
InputStream in,
ClassLoader classLoader)
|
static AbstractName |
loadBootstrapConfiguration(Kernel kernel,
InputStream in,
ClassLoader classLoader,
boolean enableBootRepo)
|
static GBeanState |
newGBeanState(Collection gbeans)
|
static ConfigurationData |
readConfigurationData(InputStream in)
|
static ConfigurationInfo |
readConfigurationInfo(InputStream in,
AbstractName storeName,
File inPlaceLocation)
|
static void |
releaseConfigurationManager(Kernel kernel,
ConfigurationManager configurationManager)
|
static void |
writeConfigInfo(PrintWriter writer,
ConfigurationData configurationData)
|
static void |
writeConfigurationData(ConfigurationData configurationData,
OutputStream out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ConfigurationMarshaler createConfigurationMarshaler(String marshalerClass) throws Exception
Exception
public static GBeanState newGBeanState(Collection gbeans)
public static AbstractName loadBootstrapConfiguration(Kernel kernel, InputStream in, ClassLoader classLoader) throws Exception
Exception
public static AbstractName loadBootstrapConfiguration(Kernel kernel, InputStream in, ClassLoader classLoader, boolean enableBootRepo) throws Exception
Exception
public static AbstractName loadBootstrapConfiguration(Kernel kernel, ConfigurationData configurationData, ClassLoader classLoader) throws Exception
Exception
public static AbstractName loadBootstrapConfiguration(Kernel kernel, ConfigurationData configurationData, ClassLoader classLoader, boolean enableBootRepo) throws Exception
Exception
public static void writeConfigurationData(ConfigurationData configurationData, OutputStream out) throws IOException
IOException
public static ConfigurationData readConfigurationData(InputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
public static void writeConfigInfo(PrintWriter writer, ConfigurationData configurationData)
public static ConfigurationInfo readConfigurationInfo(InputStream in, AbstractName storeName, File inPlaceLocation) throws IOException
IOException
public static AbstractName getConfigurationManagerName(Kernel kernel)
IllegalStateException
- Occurs if a ConfigurationManager cannot be identifiedpublic static ConfigurationManager getConfigurationManager(Kernel kernel)
IllegalStateException
- Occurs if a ConfigurationManager cannot be identifiedpublic static EditableConfigurationManager getEditableConfigurationManager(Kernel kernel)
IllegalStateException
- Occurs if there are multiple EditableConfigurationManagers in the kernel.public static void releaseConfigurationManager(Kernel kernel, ConfigurationManager configurationManager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |