01: /*
02: * $Id: IListenerInterfaceRequestTarget.java,v 1.2 2005/11/30 21:43:01 joco01
03: * Exp $ $Revision: 459258 $ $Date: 2006-02-13 06:23:54 +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.request.target;
19:
20: import wicket.RequestCycle;
21:
22: /**
23: * Targets that implement this interface announce that they can process events.
24: * This interface is not meant to be used on its own, but rather to be mixed in
25: * with other interfaces, like
26: * {@link wicket.request.target.component.listener.IListenerInterfaceRequestTarget}.
27: *
28: * @author Eelco Hillenius
29: */
30: public interface IEventProcessor {
31: /**
32: * After a page is restored, this method is responsible for calling any
33: * event handling code based on the request.
34: *
35: * @param requestCycle
36: * the current request cycle
37: */
38: void processEvents(final RequestCycle requestCycle);
39: }
|