01: /*
02: * @(#)ContextFactory.java 1.2 04/12/06
03: *
04: * Copyright (c) 1997-2003 Sun Microsystems, Inc. All Rights Reserved.
05: *
06: * See the file "LICENSE.txt" for information on usage and redistribution
07: * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
08: */
09: package pnuts.tools;
10:
11: import pnuts.lang.Context;
12:
13: /**
14: * Factory for Context object
15: * <p>
16: * This interface is used by pnuts.tools.Main class to create the initial context.
17: */
18: public interface ContextFactory {
19:
20: /**
21: * Create a context
22: */
23: public Context createContext();
24: }
|