KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tonbeller > wcf > expr > ExprContext


1 /*
2  * ====================================================================
3  * This software is subject to the terms of the Common Public License
4  * Agreement, available at the following URL:
5  * http://www.opensource.org/licenses/cpl.html .
6  * Copyright (C) 2003-2004 TONBELLER AG.
7  * All Rights Reserved.
8  * You must accept the terms of that agreement to use this software.
9  * ====================================================================
10  *
11  *
12  */

13 package com.tonbeller.wcf.expr;
14
15 /**
16  * @author av
17  */

18 public interface ExprContext {
19   /**
20    * searches for bean in request, session, application contexts.
21    */

22   public Object JavaDoc findBean(String JavaDoc name);
23
24   /**
25    * places bean into session context
26    * @param name name of the session attribute
27    * @param bean the bean. If null, the attribute will be removed.
28    */

29   public void setBean(String JavaDoc name, Object JavaDoc bean);
30 }
31
Popular Tags