
de.micromata.mgc.javafx.launcher.sample.SampleLocalSettingsConfigModel Maven / Gradle / Ivy
//
// Copyright (C) 2010-2016 Micromata GmbH
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
package de.micromata.mgc.javafx.launcher.sample;
import org.apache.commons.codec.Charsets;
import de.micromata.genome.logging.config.LsLoggingLocalSettingsConfigModel;
import de.micromata.genome.util.runtime.config.AbstractCompositLocalSettingsConfigModel;
import de.micromata.genome.util.runtime.config.AbstractTextConfigFileConfigModel;
import de.micromata.mgc.application.webserver.config.JettyConfigModel;
import de.micromata.mgc.email.MailReceiverLocalSettingsConfigModel;
import de.micromata.mgc.javafx.launcher.gui.generic.LauncherLocalSettingsConfigModel;
/**
* The configuration model.
*
* @author Roger Rene Kommer ([email protected])
*
*/
public class SampleLocalSettingsConfigModel extends AbstractCompositLocalSettingsConfigModel
{
/**
* want to habe a launcher configuration.
*/
private LauncherLocalSettingsConfigModel launcherConfig = new LauncherLocalSettingsConfigModel();
/**
* Configuration for the jetty itself.
*/
private JettyConfigModel jettyConfig = new JettyConfigModel();
/**
* We want to make useage of the MGC Logging.
*/
private LsLoggingLocalSettingsConfigModel loggerConfig = new LsLoggingLocalSettingsConfigModel();
/**
* Embededd log4j configuration inside the launchers configuration dialog.
*/
private AbstractTextConfigFileConfigModel log4jConfig = new AbstractTextConfigFileConfigModel("Log4J",
"log4j.properties", Charsets.ISO_8859_1);
private MailReceiverLocalSettingsConfigModel mailReceiverConfig = new MailReceiverLocalSettingsConfigModel();
private SampleConfigModel sampleConfig = new SampleConfigModel();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy