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
ApplicationMBean
clearMarkupCache
in interface ApplicationMBean
IOException
ApplicationMBean.clearMarkupCache()
public String getApplicationClass() throws IOException
ApplicationMBean
getApplicationClass
in interface ApplicationMBean
IOException
ApplicationMBean.getApplicationClass()
public String getConfigurationType()
ApplicationMBean
RuntimeConfigurationType.DEVELOPMENT
or
RuntimeConfigurationType.DEPLOYMENT
.getConfigurationType
in interface ApplicationMBean
ApplicationMBean.getConfigurationType()
public String getHomePageClass() throws IOException
ApplicationMBean
getHomePageClass
in interface ApplicationMBean
IOException
ApplicationMBean.getHomePageClass()
public int getMarkupCacheSize() throws IOException
ApplicationMBean
getMarkupCacheSize
in interface ApplicationMBean
IOException
ApplicationMBean.getMarkupCacheSize()
public String getWicketVersion() throws IOException
ApplicationMBean
getWicketVersion
in interface ApplicationMBean
IOException
ApplicationMBean.getWicketVersion()
public void clearLocalizerCache() throws IOException
ApplicationMBean
clearLocalizerCache
in interface ApplicationMBean
IOException
ApplicationMBean.clearLocalizerCache()
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.