java.lang.Object
org.apache.wicket.jmx.wrapper.Application
- All Implemented Interfaces:
ApplicationMBean
Exposes Application related functionality for JMX.
- Author:
- eelcohillenius
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Clears the localizer cache.void
Clears the markup cache, so that templates and properties etc will be reloaded the next time they are requested.Gets the class of the application.The configuration type, eitherRuntimeConfigurationType.DEVELOPMENT
orRuntimeConfigurationType.DEPLOYMENT
.Gets the configured home page for this application.int
Gets the number of elements currently in the markup cache.Gets the Wicket version.
-
Constructor Details
-
Application
Create.- Parameters:
application
-
-
-
Method Details
-
clearMarkupCache
Description copied from interface:ApplicationMBean
Clears the markup cache, so that templates and properties etc will be reloaded the next time they are requested.- Specified by:
clearMarkupCache
in interfaceApplicationMBean
- Throws:
IOException
-
getApplicationClass
Description copied from interface:ApplicationMBean
Gets the class of the application.- Specified by:
getApplicationClass
in interfaceApplicationMBean
- Returns:
- the class of the application
- Throws:
IOException
-
getConfigurationType
Description copied from interface:ApplicationMBean
The configuration type, eitherRuntimeConfigurationType.DEVELOPMENT
orRuntimeConfigurationType.DEPLOYMENT
.- Specified by:
getConfigurationType
in interfaceApplicationMBean
- Returns:
- The configuration type
-
getHomePageClass
Description copied from interface:ApplicationMBean
Gets the configured home page for this application.- Specified by:
getHomePageClass
in interfaceApplicationMBean
- Returns:
- the configured home page for this application
- Throws:
IOException
-
getMarkupCacheSize
Description copied from interface:ApplicationMBean
Gets the number of elements currently in the markup cache.- Specified by:
getMarkupCacheSize
in interfaceApplicationMBean
- Returns:
- the number of elements currently in the markup cache
- Throws:
IOException
-
getWicketVersion
Description copied from interface:ApplicationMBean
Gets the Wicket version. The Wicket version is in the same format as the version element in the pom.xml file (project descriptor). The version is generated by maven in the build/release cycle and put in the wicket.properties file located in the root folder of the Wicket jar. The version usually follows one of the following formats:- major.minor[.bug] for stable versions. 1.1, 1.2, 1.2.1 are examples
- major.minor-state for development versions. 1.2-beta2, 1.3-SNAPSHOT are examples
- Specified by:
getWicketVersion
in interfaceApplicationMBean
- Returns:
- the Wicket version
- Throws:
IOException
-
clearLocalizerCache
Description copied from interface:ApplicationMBean
Clears the localizer cache.- Specified by:
clearLocalizerCache
in interfaceApplicationMBean
- Throws:
IOException
-