Example usage for org.apache.wicket Application getFrameworkSettings

List of usage examples for org.apache.wicket Application getFrameworkSettings

Introduction

In this page you can find the example usage for org.apache.wicket Application getFrameworkSettings.

Prototype

public final FrameworkSettings getFrameworkSettings() 

Source Link

Usage

From source file:org.wicketstuff.mergedresources.versioning.WicketVersion.java

License:Apache License

public WicketVersion(Application application) {
    _version = application.getFrameworkSettings().getVersion();
    if ("n/a".equals(_version)) {
        log.info("failed to determine wicket framework version");
        _version = null;//from w ww  .  ja  va  2s  .  c  o  m
    }
}