public class CmsVfsBundleManager
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
class |
CmsVfsBundleManager.Listener
Event listener class which updates the cache based on publish events.
|
class |
CmsVfsBundleManager.NameAndLocale
Data holder for a base name and locale of a message bundle.
|
限定符和类型 | 字段和说明 |
---|---|
protected static org.apache.commons.logging.Log |
LOG
The logger instance for this class.
|
static java.lang.String |
TYPE_PROPERTIES_BUNDLE
Resource type name for plain-text properties files containing messages.
|
static java.lang.String |
TYPE_XML_BUNDLE
Resource type name for XML contents containing messages.
|
构造器和说明 |
---|
CmsVfsBundleManager(CmsObject cms)
Creates a new instance.
|
限定符和类型 | 方法和说明 |
---|---|
protected CmsObject |
getCmsObject()
Gets the current CMS context.
|
CmsVfsBundleManager.Listener |
getEventListener()
Gets the event listener used by this object.
|
protected void |
logError(java.lang.Exception e)
Logs an exception that occurred.
|
void |
reload(boolean isStartup)
Re-initializes the resource bundles.
|
public static final java.lang.String TYPE_PROPERTIES_BUNDLE
public static final java.lang.String TYPE_XML_BUNDLE
protected static final org.apache.commons.logging.Log LOG
public CmsVfsBundleManager(CmsObject cms)
cms
- the CMS context to usepublic CmsVfsBundleManager.Listener getEventListener()
public void reload(boolean isStartup)
isStartup
- true when this is called during startupprotected CmsObject getCmsObject()
protected void logError(java.lang.Exception e)
e
- the exception to log