org.apache.wicket.jmx
Interface ApplicationMBean

All Known Implementing Classes:
Application

public interface ApplicationMBean

MBean interface for exposing application related information and functionality.

Author:
eelcohillenius

Method Summary
 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.
 java.lang.String getApplicationClass()
          Gets the class of the application.
 java.lang.String getConfigurationType()
          The configuration type, either Application.DEVELOPMENT or Application#DEPLOYMENT.
 java.lang.String getHomePageClass()
          Gets the configured home page for this application.
 int getMarkupCacheSize()
          Gets the number of elements currently in the markup cache.
 java.lang.String[] getMounts()
          Lists the registered URL mounts.
 java.lang.String getWicketVersion()
          Gets the Wicket version.
 

Method Detail

clearMarkupCache

void clearMarkupCache()
                      throws java.io.IOException
Clears the markup cache, so that templates and properties etc will be reloaded the next time they are requested.

Throws:
java.io.IOException

getApplicationClass

java.lang.String getApplicationClass()
                                     throws java.io.IOException
Gets the class of the application.

Returns:
the class of the application
Throws:
java.io.IOException

getConfigurationType

java.lang.String getConfigurationType()
The configuration type, either Application.DEVELOPMENT or Application#DEPLOYMENT.

Returns:
The configuration type

getHomePageClass

java.lang.String getHomePageClass()
                                  throws java.io.IOException
Gets the configured home page for this application.

Returns:
the configured home page for this application
Throws:
java.io.IOException

getMarkupCacheSize

int getMarkupCacheSize()
                       throws java.io.IOException
Gets the number of elements currently in the markup cache.

Returns:
the number of elements currently in the markup cache
Throws:
java.io.IOException

getMounts

java.lang.String[] getMounts()
                             throws java.io.IOException
Lists the registered URL mounts.

Returns:
the registered URL mounts
Throws:
java.io.IOException

getWicketVersion

java.lang.String getWicketVersion()
                                  throws java.io.IOException
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:

Returns:
the Wicket version
Throws:
java.io.IOException

clearLocalizerCache

void clearLocalizerCache()
                         throws java.io.IOException
Clears the localizer cache.

Throws:
java.io.IOException


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.