Class FrameworkSettings

  • All Implemented Interfaces:
    IEventDispatcher

    public class FrameworkSettings
    extends Object
    implements IEventDispatcher
    Framework settings for retrieving and configuring framework settings.
    Author:
    Jonathan Locke, Chris Turner, Eelco Hillenius, Juergen Donnerstag, Johan Compagner, Igor Vaynberg (ivaynberg), Martijn Dashorst, James Carman
    • Constructor Detail

      • FrameworkSettings

        public FrameworkSettings​(Application application)
        Construct.
        Parameters:
        application -
    • Method Detail

      • getVersion

        public String getVersion()
        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 /META-INF/MANIFEST.MF 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
        Returns:
        the Wicket version
      • getDetachListener

        public IDetachListener getDetachListener()
        Returns:
        detach listener or null if none
      • setDetachListener

        public FrameworkSettings setDetachListener​(IDetachListener detachListener)
        Sets detach listener
        Parameters:
        detachListener - listener or null to remove
        Returns:
        this object for chaining
      • getSerializer

        public ISerializer getSerializer()
        Returns:
        the ISerializer that will be used to convert objects to/from byte arrays