org.apache.wicket.settings
Interface IFrameworkSettings

All Superinterfaces:
IEventDispatcher
All Known Implementing Classes:
FrameworkSettings

public interface IFrameworkSettings
extends IEventDispatcher

Framework settings for retrieving and configuring framework settings.

Author:
Martijn Dashorst

Method Summary
 void add(IEventDispatcher dispatcher)
          Registers a new event dispatcher
 IDetachListener getDetachListener()
           
 String getVersion()
          Gets the Wicket version.
 void setDetachListener(IDetachListener listener)
          Sets detach listener
 
Methods inherited from interface org.apache.wicket.IEventDispatcher
dispatchEvent
 

Method Detail

getVersion

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 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

getDetachListener

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

setDetachListener

void setDetachListener(IDetachListener listener)
Sets detach listener

Parameters:
listener - listener or null to remove

add

void add(IEventDispatcher dispatcher)
Registers a new event dispatcher

Parameters:
dispatcher -


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