/** * Adds an optional library. These libraries will be booted, if they define * a boot class. A missing class is considered non-fatal and it is assumed * that the programm knows how to handle that. * * @param libraryClass the library. */ public void addOptionalLibrary (final String libraryClass) { if (libraryClass == null) { throw new NullPointerException("Library classname must be given."); } this.optionalLibraries.add (new OptionalLibraryHolder(libraryClass)); }
/** * Adds an optional library. These libraries will be booted, if they define * a boot class. A missing class is considered non-fatal and it is assumed * that the programm knows how to handle that. * * @param library the library. */ public void addOptionalLibrary (final Library library) { if (library == null) { throw new NullPointerException("Library must be given."); } this.optionalLibraries.add(new OptionalLibraryHolder(library)); } }
/** * Adds an optional library. These libraries will be booted, if they define * a boot class. A missing class is considered non-fatal and it is assumed * that the programm knows how to handle that. * * @param library the library. */ public void addOptionalLibrary (final Library library) { if (library == null) { throw new NullPointerException("Library must be given."); } this.optionalLibraries.add(new OptionalLibraryHolder(library)); } }
/** * Adds an optional library. These libraries will be booted, if they define * a boot class. A missing class is considered non-fatal and it is assumed * that the programm knows how to handle that. * * @param library the library. */ public void addOptionalLibrary (final Library library) { if (library == null) { throw new NullPointerException("Library must be given."); } this.optionalLibraries.add(new OptionalLibraryHolder(library)); } }
/** * Adds an optional library. These libraries will be booted, if they define * a boot class. A missing class is considered non-fatal and it is assumed * that the programm knows how to handle that. * * @param libraryClass the library. */ public void addOptionalLibrary (final String libraryClass) { if (libraryClass == null) { throw new NullPointerException("Library classname must be given."); } this.optionalLibraries.add (new OptionalLibraryHolder(libraryClass)); }
/** * Adds an optional library. These libraries will be booted, if they define * a boot class. A missing class is considered non-fatal and it is assumed * that the programm knows how to handle that. * * @param library the library. */ public void addOptionalLibrary (final String libraryClass) { if (libraryClass == null) { throw new NullPointerException("Library classname must be given."); } this.optionalLibraries.add (new OptionalLibraryHolder(libraryClass)); }