- All Known Implementing Classes:
ResourceSettings
public interface ResourceSettingsMBean
Resource settings.
- Author:
- eelcohillenius
-
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)
-
Method Details
-
getLocalizer
Get the application's localizer.- Returns:
- The application wide localizer instance
-
getPackageResourceGuard
Gets thepackage resource guard
.- Returns:
- The package resource guard
-
getPropertiesFactory
Get the property factory which will be used to load property files- Returns:
- PropertiesFactory
-
getResourceFinders
Gets the resource finder to use when searching for resources.- Returns:
- Returns the resourceFinder.
- See Also:
-
getResourcePollFrequency
- Returns:
- Returns the resourcePollFrequency.
- See Also:
-
getResourceStreamLocator
- Returns:
- Resource locator for this application
-
getStringResourceLoaders
- Returns:
- an unmodifiable list of all available string resource loaders
-
getThrowExceptionOnMissingResource
boolean getThrowExceptionOnMissingResource()- Returns:
- boolean
- See Also:
-
getUseDefaultOnMissingResource
boolean getUseDefaultOnMissingResource()- Returns:
- Whether to use a default value (if available) when a missing resource is requested
-
setThrowExceptionOnMissingResource
- Parameters:
throwExceptionOnMissingResource
-- See Also:
-
setUseDefaultOnMissingResource
- Parameters:
useDefaultOnMissingResource
- Whether to use a default value (if available) when a missing resource is requested
-