Package org.apache.wicket.jmx
Interface ResourceSettingsMBean
-
- All Known Implementing Classes:
ResourceSettings
public interface ResourceSettingsMBean
Resource settings.- Author:
- eelcohillenius
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getLocalizer()
Get the application's localizer.String
getPackageResourceGuard()
Gets thepackage resource guard
.String
getPropertiesFactory()
Get the property factory which will be used to load property filesString
getResourceFinders()
Gets the resource finder to use when searching for resources.String
getResourcePollFrequency()
String
getResourceStreamLocator()
String[]
getStringResourceLoaders()
boolean
getThrowExceptionOnMissingResource()
boolean
getUseDefaultOnMissingResource()
void
setThrowExceptionOnMissingResource(boolean throwExceptionOnMissingResource)
void
setUseDefaultOnMissingResource(boolean useDefaultOnMissingResource)
-
-
-
Method Detail
-
getLocalizer
String getLocalizer()
Get the application's localizer.- Returns:
- The application wide localizer instance
-
getPackageResourceGuard
String getPackageResourceGuard()
Gets thepackage resource guard
.- Returns:
- The package resource guard
-
getPropertiesFactory
String getPropertiesFactory()
Get the property factory which will be used to load property files- Returns:
- PropertiesFactory
-
getResourceFinders
String getResourceFinders()
Gets the resource finder to use when searching for resources.- Returns:
- Returns the resourceFinder.
- See Also:
ResourceSettings.getResourceFinders()
-
getResourcePollFrequency
String getResourcePollFrequency()
- Returns:
- Returns the resourcePollFrequency.
- See Also:
ResourceSettings.setResourcePollFrequency(Duration)
-
getResourceStreamLocator
String getResourceStreamLocator()
- Returns:
- Resource locator for this application
-
getStringResourceLoaders
String[] getStringResourceLoaders()
- Returns:
- an unmodifiable list of all available string resource loaders
-
getThrowExceptionOnMissingResource
boolean getThrowExceptionOnMissingResource()
- Returns:
- boolean
- See Also:
ResourceSettings.getThrowExceptionOnMissingResource()
-
getUseDefaultOnMissingResource
boolean getUseDefaultOnMissingResource()
- Returns:
- Whether to use a default value (if available) when a missing resource is requested
-
setThrowExceptionOnMissingResource
void setThrowExceptionOnMissingResource(boolean throwExceptionOnMissingResource)
- Parameters:
throwExceptionOnMissingResource
-- See Also:
ResourceSettings.setThrowExceptionOnMissingResource(boolean)
-
setUseDefaultOnMissingResource
void setUseDefaultOnMissingResource(boolean useDefaultOnMissingResource)
- Parameters:
useDefaultOnMissingResource
- Whether to use a default value (if available) when a missing resource is requested
-
-