Package org.ametys.core.cocoon
Class XMLResourceBundleFactory
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.i18n.XMLResourceBundleFactory
-
- org.ametys.core.cocoon.XMLResourceBundleFactory
-
- All Implemented Interfaces:
Disposable
,Component
,Configurable
,LogEnabled
,Serviceable
,ThreadSafe
,BundleFactory
public class XMLResourceBundleFactory extends XMLResourceBundleFactory
This XMLResourceBundleFactory creates aBundle
for XML resources which can be invalidated
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.cocoon.i18n.BundleFactory
BundleFactory.ConfigurationKeys
-
-
Field Summary
-
Fields inherited from class org.apache.cocoon.i18n.XMLResourceBundleFactory
cache, directory, interval, manager, resolver
-
Fields inherited from interface org.apache.cocoon.i18n.BundleFactory
ROLE
-
-
Constructor Summary
Constructors Constructor Description XMLResourceBundleFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected XMLResourceBundle
create(String sourceURI, Locale locale, XMLResourceBundle parent)
void
invalidateCatalogue(String location, String name, String localeName)
Invalidate catalogue-
Methods inherited from class org.apache.cocoon.i18n.XMLResourceBundleFactory
configure, dispose, getCacheKey, getDirectory, getParentLocale, getSourceURI, release, select, select, select, select, select, selectCached, service, updateCache
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Constructor Detail
-
XMLResourceBundleFactory
public XMLResourceBundleFactory()
-
-
Method Detail
-
create
protected XMLResourceBundle create(String sourceURI, Locale locale, XMLResourceBundle parent)
- Overrides:
create
in classXMLResourceBundleFactory
-
invalidateCatalogue
public void invalidateCatalogue(String location, String name, String localeName) throws ComponentException
Invalidate catalogue- Parameters:
location
- catalogue base location (URI)name
- bundle namelocaleName
- locale name- Throws:
ComponentException
- If an error occurred
-
-