/** * Creates a new package manager. * * @param booter the booter (<code>null</code> not permitted). */ public PackageManager( final AbstractBoot booter ) { if ( booter == null ) { throw new NullPointerException(); } this.booter = booter; this.packageConfiguration = new PackageConfiguration(); this.modules = new ArrayList<PackageState>(); this.modulesByClass = new HashMap<String, PackageState>(); this.initSections = new ArrayList<String>(); }
/** * Creates a new package manager. * * @param booter the booter (<code>null</code> not permitted). */ public PackageManager(final AbstractBoot booter) { if (booter == null) { throw new NullPointerException(); } this.booter = booter; this.packageConfiguration = new PackageConfiguration(); this.modules = new ArrayList<PackageState>(); this.modulesByClass = new HashMap<String, PackageState>(); this.initSections = new ArrayList<String>(); }