|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.ResourceBundle
org.norther.tammi.core.locale.LookupResourceBundle
org.norther.tammi.core.locale.PluggableResourceBundle
public abstract class PluggableResourceBundle
An abstract extension of LookupResourceBundle
with support to
plug-in to a named resource finder. Subclasses may override the plugIn method
to load class specific resources.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.util.ResourceBundle |
---|
ResourceBundle.Control |
Field Summary |
---|
Fields inherited from class java.util.ResourceBundle |
---|
parent |
Constructor Summary | |
---|---|
protected |
PluggableResourceBundle()
Constructs an empty bundle. |
Method Summary | |
---|---|
protected MBeanServer |
getMBeanServer()
Gets the MBean server of this bundle. |
protected String |
getPlugInKey()
Gets the plug-in key of this bundle. |
protected long |
getResourceCheckInterval()
Gets the resource check interval of this bundle. |
protected MBeanReference<? extends ResourceFinder> |
getResourceFinderMBean()
Gets a reference to the resource finder MBean of this bundle. |
protected void |
plugIn(String name,
MBeanReference<? extends ResourceFinder> instance)
Plugs in to the referenced resource finder. |
protected void |
release()
Releases this plug-in bundle. |
Methods inherited from class org.norther.tammi.core.locale.LookupResourceBundle |
---|
getBaseName, getKeys, getKeys, getParent, handleGetObject, lookup, lookup, lookupKey, lookupObject, lookupString, lookupStringArray, setBaseName |
Methods inherited from class java.util.ResourceBundle |
---|
clearCache, clearCache, containsKey, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, handleKeySet, keySet, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected PluggableResourceBundle()
Method Detail |
---|
protected void plugIn(String name, MBeanReference<? extends ResourceFinder> instance)
name
- the base name of this resource bundle.instance
- the resource finder.
ClassCastException
- if not a resource finder.protected String getPlugInKey()
protected MBeanReference<? extends ResourceFinder> getResourceFinderMBean()
protected long getResourceCheckInterval()
protected MBeanServer getMBeanServer()
protected void release()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |