public class Application extends Object implements ApplicationMBean
| Constructor and Description |
|---|
Application(Application application)
Create.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearLocalizerCache()
Clears the localizer cache.
|
void |
clearMarkupCache()
Clears the markup cache, so that templates and properties etc will be reloaded the next time
they are requested.
|
String |
getApplicationClass()
Gets the class of the application.
|
String |
getConfigurationType()
The configuration type, either
RuntimeConfigurationType.DEVELOPMENT or
RuntimeConfigurationType.DEPLOYMENT. |
String |
getHomePageClass()
Gets the configured home page for this application.
|
int |
getMarkupCacheSize()
Gets the number of elements currently in the markup cache.
|
String |
getWicketVersion()
Gets the Wicket version.
|
public Application(Application application)
application - public void clearMarkupCache()
throws IOException
ApplicationMBeanclearMarkupCache in interface ApplicationMBeanIOExceptionApplicationMBean.clearMarkupCache()public String getApplicationClass() throws IOException
ApplicationMBeangetApplicationClass in interface ApplicationMBeanIOExceptionApplicationMBean.getApplicationClass()public String getConfigurationType()
ApplicationMBeanRuntimeConfigurationType.DEVELOPMENT or
RuntimeConfigurationType.DEPLOYMENT.getConfigurationType in interface ApplicationMBeanApplicationMBean.getConfigurationType()public String getHomePageClass() throws IOException
ApplicationMBeangetHomePageClass in interface ApplicationMBeanIOExceptionApplicationMBean.getHomePageClass()public int getMarkupCacheSize()
throws IOException
ApplicationMBeangetMarkupCacheSize in interface ApplicationMBeanIOExceptionApplicationMBean.getMarkupCacheSize()public String getWicketVersion() throws IOException
ApplicationMBeangetWicketVersion in interface ApplicationMBeanIOExceptionApplicationMBean.getWicketVersion()public void clearLocalizerCache()
throws IOException
ApplicationMBeanclearLocalizerCache in interface ApplicationMBeanIOExceptionApplicationMBean.clearLocalizerCache()Copyright © 2006–2019 Apache Software Foundation. All rights reserved.