01: /*
02: * $Id: InterfaceObject.java 458351 2005-12-23 23:00:29Z ivaynberg $
03: * $Revision: 458351 $
04: * $Date: 2005-12-24 00:00:29 +0100 (Sat, 24 Dec 2005) $
05: *
06: * ==============================================================================
07: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
08: * use this file except in compliance with the License. You may obtain a copy of
09: * the License at
10: *
11: * http://www.apache.org/licenses/LICENSE-2.0
12: *
13: * Unless required by applicable law or agreed to in writing, software
14: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16: * License for the specific language governing permissions and limitations under
17: * the License.
18: */
19: package wicket.proxy.util;
20:
21: /**
22: * Mock dependency that implements an interface
23: *
24: * @author Igor Vaynberg (ivaynberg)
25: *
26: */
27: public class InterfaceObject implements IInterface {
28: private String message;
29:
30: /**
31: * @param message
32: */
33: public InterfaceObject(String message) {
34: this .message = message;
35: }
36:
37: /**
38: * @see wicket.proxy.util.IInterface#getMessage()
39: */
40: public String getMessage() {
41: return message;
42: }
43:
44: }
|