01: /*
02: * $Id: ISessionFactory.java 460238 2006-04-13 21:26:11Z jdonnerstag $
03: * $Revision: 460238 $ $Date: 2006-04-13 23:26:11 +0200 (Thu, 13 Apr 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: /**
21: * A factory interface used by Applications to create Sessions.
22: *
23: * @author Jonathan Locke
24: */
25: public interface ISessionFactory {
26: /**
27: * Creates a new session
28: *
29: * @return The session
30: */
31: Session newSession();
32: }
|