1 /*
2 * Angkor Web Framework
3 *
4 * Distributable under LGPL license.
5 * See terms of license at gnu.org.
6 */
7
8 package com.tirsen.angkor.process;
9
10 /***
11 * <!-- $Id: ExecuteContext.java,v 1.3 2002/10/09 21:37:37 tirsen Exp $ -->
12 * <!-- $Author: tirsen $ -->
13 *
14 * @author Jon Tirs´n (tirsen@users.sourceforge.net)
15 * @version $Revision: 1.3 $
16 */
17 public interface ExecuteContext
18 {
19 public static class Attribute
20 {
21 private String name;
22
23 public Attribute(String name)
24 {
25 this.name = name;
26 }
27
28 String getName()
29 {
30 return name;
31 }
32
33 public String toString()
34 {
35 return "ExecuteContext.Attribute[" + name + "]";
36 }
37 }
38
39 public static final Attribute RenderContextAttribute = new Attribute("RenderContext");
40 public static final Attribute ApplicationAttribute = new Attribute("Application");
41 public static final Attribute CurrentViewAttribute = new Attribute("CurrentView");
42
43 void executeNext() throws Exception;
44
45 void setAttribute(Attribute attribute, Object value);
46
47 Object getAttribute(Attribute attribute);
48 }
This page was automatically generated by Maven