java.lang.Object
org.apache.wicket.jmx.wrapper.ResourceSettings
- All Implemented Interfaces:
ResourceSettingsMBean
Exposes Application related functionality for JMX.
- Author:
- eelcohillenius
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the application's localizer.Gets thepackage resource guard
.Get the property factory which will be used to load property filesGets the resource finder to use when searching for resources.String[]
boolean
boolean
void
setThrowExceptionOnMissingResource
(boolean throwExceptionOnMissingResource) void
setUseDefaultOnMissingResource
(boolean useDefaultOnMissingResource)
-
Constructor Details
-
ResourceSettings
Create.- Parameters:
application
-
-
-
Method Details
-
getLocalizer
Get the application's localizer.- Specified by:
getLocalizer
in interfaceResourceSettingsMBean
- Returns:
- The application wide localizer instance
-
getPackageResourceGuard
Gets thepackage resource guard
.- Specified by:
getPackageResourceGuard
in interfaceResourceSettingsMBean
- Returns:
- The package resource guard
-
getPropertiesFactory
Get the property factory which will be used to load property files- Specified by:
getPropertiesFactory
in interfaceResourceSettingsMBean
- Returns:
- PropertiesFactory
-
getResourceFinders
Gets the resource finder to use when searching for resources.- Specified by:
getResourceFinders
in interfaceResourceSettingsMBean
- Returns:
- Returns the resourceFinder.
- See Also:
-
getResourcePollFrequency
- Specified by:
getResourcePollFrequency
in interfaceResourceSettingsMBean
- Returns:
- Returns the resourcePollFrequency.
- See Also:
-
getResourceStreamLocator
- Specified by:
getResourceStreamLocator
in interfaceResourceSettingsMBean
- Returns:
- Resource locator for this application
-
getStringResourceLoaders
- Specified by:
getStringResourceLoaders
in interfaceResourceSettingsMBean
- Returns:
- an unmodifiable list of all available string resource loaders
-
getThrowExceptionOnMissingResource
- Specified by:
getThrowExceptionOnMissingResource
in interfaceResourceSettingsMBean
- Returns:
- boolean
- See Also:
-
getUseDefaultOnMissingResource
- Specified by:
getUseDefaultOnMissingResource
in interfaceResourceSettingsMBean
- Returns:
- Whether to use a default value (if available) when a missing resource is requested
-
setThrowExceptionOnMissingResource
- Specified by:
setThrowExceptionOnMissingResource
in interfaceResourceSettingsMBean
- See Also:
-
setUseDefaultOnMissingResource
- Specified by:
setUseDefaultOnMissingResource
in interfaceResourceSettingsMBean
- Parameters:
useDefaultOnMissingResource
- Whether to use a default value (if available) when a missing resource is requested
-