/** * Performs any server start-up tasks particular to this type of Server. * <p> * </p> * This is guaranteed to be run before any modules are loaded. * * @throws ServerInitializationException * If a severe server startup-related error occurred. */ protected void initServer() throws ServerInitializationException { DOTranslationUtility.init(m_serverDir); }
/** * Performs any server start-up tasks particular to this type of Server. * <p> * </p> * This is guaranteed to be run before any modules are loaded. * * @throws ServerInitializationException * If a severe server startup-related error occurred. */ protected void initServer() throws ServerInitializationException { DOTranslationUtility.init(m_serverDir); }
public DOTranslationUtility(Properties properties, boolean init) { m_serverHost = properties.getProperty("fedora.hostname"); m_serverPort = properties.getProperty("fedora.port"); m_serverPortSSL = properties.getProperty("fedora.redirectPort"); m_appServerContext = properties.getProperty("fedora.appServerContext"); if (init) this.init(); } public DOTranslationUtility(ServerConfiguration config) {
public DOTranslationUtility(Properties properties, boolean init) { m_serverHost = properties.getProperty("fedora.hostname"); m_serverPort = properties.getProperty("fedora.port"); m_serverPortSSL = properties.getProperty("fedora.redirectPort"); m_appServerContext = properties.getProperty("fedora.appServerContext"); if (init) this.init(); } public DOTranslationUtility(ServerConfiguration config) {
public DOTranslationUtility(ServerConfiguration config) { this(System.getProperties(), false); if (m_serverHost == null || m_serverPort == null || m_appServerContext == null) { m_serverHost = config.getParameter("fedoraServerHost",Parameter.class).getValue(); m_serverPort = config.getParameter("fedoraServerPort",Parameter.class).getValue(); m_appServerContext = config.getParameter("fedoraAppServerContext",Parameter.class).getValue(); m_serverPortSSL = config.getParameter("fedoraRedirectPort",Parameter.class).getValue(); } this.init(); } protected void init() {
public DOTranslationUtility(ServerConfiguration config) { this(System.getProperties(), false); if (m_serverHost == null || m_serverPort == null || m_appServerContext == null) { m_serverHost = config.getParameter("fedoraServerHost",Parameter.class).getValue(); m_serverPort = config.getParameter("fedoraServerPort",Parameter.class).getValue(); m_appServerContext = config.getParameter("fedoraAppServerContext",Parameter.class).getValue(); m_serverPortSSL = config.getParameter("fedoraRedirectPort",Parameter.class).getValue(); } this.init(); } protected void init() {