01: /*
02: * $Id: IRequestListener.java 459257 2006-02-13 04:49:17Z jonl $
03: * $Revision: 459257 $ $Date: 2006-02-13 05:49:17 +0100 (Mon, 13 Feb 2006) $
04: *
05: * ==============================================================================
06: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
07: * use this file except in compliance with the License. You may obtain a copy of
08: * the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing, software
13: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15: * License for the specific language governing permissions and limitations under
16: * the License.
17: */
18: package wicket;
19:
20: import java.io.Serializable;
21:
22: /**
23: * Base interface for all interfaces that listen for requests from the client
24: * browser. All sub-interfaces of this interface must have a single method which
25: * takes no arguments.
26: * <p>
27: * New listener interfaces must be registered with Wicket by constructing a
28: * {@link RequestListenerInterface} object for the given interface class. The
29: * best way to do this is to create a public static final constant field in your
30: * request listener interface. Doing this will cause the interface to
31: * automatically register whenever it is used. For example, see
32: * {@link wicket.IRedirectListener#INTERFACE}.
33: *
34: * @author Jonathan Locke
35: */
36: public interface IRequestListener extends Serializable {
37: }
|