/** * Returns the global configuration as modifiable configuration reference. * * @return the global configuration */ public static ModifiableConfiguration getConfiguration() { return (ModifiableConfiguration) getInstance().getGlobalConfig(); }
public Library getLibrary() { if (this.library == null) { this.library = loadLibrary(this.libraryClass); } return this.library; }
/** * Sets the project info string (for example, this could be the project URL). * * @param info the info string. */ public void setInfo(final String info) { super.setInfo(info); }
/** * Sets the project version number. * * @param version the version number. */ public void setVersion(final String version) { super.setVersion(version); }
/** * Returns the global configuration. * * @return The global configuration. */ public synchronized Configuration getGlobalConfig() { if (this.globalConfig == null) { this.globalConfig = loadConfiguration(); } return this.globalConfig; }
/** * Sets the license name. * * @param licence the license name. */ public void setLicenceName(final String licence) { super.setLicenceName(licence); }
/** * Sets the project name. * * @param name the project name. */ public void setName(final String name) { super.setName(name); }
/** * Returns the boot instance. * * @return The boot instance. */ public static synchronized AbstractBoot getInstance() { if (singleton == null) { singleton = new BaseBoot(); } return singleton; }
/** * Returns the global configuration as modifiable configuration reference. * * @return the global configuration */ public static ModifiableConfiguration getConfiguration() { return (ModifiableConfiguration) getInstance().getGlobalConfig(); }
public Library getLibrary() { if (library == null) { library = loadLibrary(libraryClass); } return library; }
/** * Sets the project version number. * * @param version the version number. */ public void setVersion(final String version) { super.setVersion(version); }
/** * Returns the global configuration. * * @return The global configuration. */ public synchronized Configuration getGlobalConfig() { if (this.globalConfig == null) { this.globalConfig = loadConfiguration(); } return this.globalConfig; }
/** * Sets the project info string (for example, this could be the project URL). * * @param info the info string. */ public void setInfo(final String info) { super.setInfo(info); }
/** * Sets the license name. * * @param licence the license name. */ public void setLicenceName(final String licence) { super.setLicenceName(licence); }
/** * Sets the project name. * * @param name the project name. */ public void setName(final String name) { super.setName(name); }
/** * Returns the global configuration as modifiable configuration reference. * * @return the global configuration */ public static ModifiableConfiguration getConfiguration() { return (ModifiableConfiguration) getInstance().getGlobalConfig(); }
public Library getLibrary() { if (this.library == null) { this.library = loadLibrary(this.libraryClass); } return this.library; }
/** * Sets the project version number. * * @param version the version number. */ public void setVersion(final String version) { super.setVersion(version); }
/** * Returns the global configuration. * * @return The global configuration. */ public synchronized Configuration getGlobalConfig() { if (this.globalConfig == null) { this.globalConfig = loadConfiguration(); } return this.globalConfig; }
/** * Returns the current log target. * * @return the log target. */ public static String getLogTarget() { return BaseBoot.getInstance().getGlobalConfig().getConfigProperty (LOGTARGET, LOGTARGET_DEFAULT); }