01: /*
02: * @(#)PackageFactory.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.lang;
10:
11: /**
12: * The system property "pnuts.package.factory" is specified at startup time, the
13: * package(..) builtin function calls its createPackage() method of the
14: * specified class.
15: *
16: * @see pnuts.lang.Package
17: * @version 1.1
18: */
19: public interface PackageFactory {
20: public Package createPackage(String pkgName, Package parent);
21: }
|