Example usage for org.apache.wicket RequestListenerInterface forName

List of usage examples for org.apache.wicket RequestListenerInterface forName

Introduction

In this page you can find the example usage for org.apache.wicket RequestListenerInterface forName.

Prototype

public static RequestListenerInterface forName(final String interfaceName) 

Source Link

Document

Looks up a request interface listener by name.

Usage

From source file:org.brixcms.web.nodepage.BrixNodePageListenerRequestHandler.java

License:Apache License

public RequestListenerInterface getRequestListenerInterface() {
    if (this.iface != null) {
        int separator = iface.lastIndexOf(':');
        if (separator != -1) {
            String interfaceName = iface.substring(separator + 1);
            RequestListenerInterface listenerInterface = RequestListenerInterface.forName(interfaceName);
            return listenerInterface;
        }//  w  w  w  . ja v  a  2  s  .  c o  m
    }
    return null;
}