01: /*
02: * @(#)SecurePackageFactory.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.security;
10:
11: import pnuts.lang.Package;
12: import pnuts.lang.PackageFactory;
13:
14: /**
15: * A Package Factory that creates SecurePackage
16: */
17: public class SecurePackageFactory implements PackageFactory {
18: public Package createPackage(String pkgName, Package parent) {
19: return new SecurePackage(pkgName, parent);
20: }
21: }
|