org.apache.geronimo.console.i18n
Class ConsoleResourceRegistry
java.lang.Object
org.apache.geronimo.console.i18n.ConsoleResourceRegistry
public class ConsoleResourceRegistry
- extends Object
Each console extension will register its classloader to this GBean, then
console-portal-driver can load the resource bundle for the above classloader.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final GBeanInfo GBEAN_INFO
ConsoleResourceRegistry
public ConsoleResourceRegistry()
registerConsoleResource
public void registerConsoleResource(ClassLoader classloader)
- Register the classloader of the console extension
- Parameters:
classloader
- console plugin classloader to register
removeConsoleResource
public void removeConsoleResource(ClassLoader classloader)
- Remove the classloader of the console extension
- Parameters:
classloader
- console plugin classloader to unregister
handleGetObject
public String handleGetObject(String basename,
Locale locale,
String key)
- Iterate the classloaders of the console extensions to find the value
related to the key.
- Parameters:
basename
- name of the bundlelocale
- locale desiredkey
- key for desired string
getGBeanInfo
public static GBeanInfo getGBeanInfo()
Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.