SRJRCFrames
v0.1.296

de.schwarzrot.app.config
Class ServiceConfig

java.lang.Object
  extended by com.jgoodies.binding.beans.Model
      extended by de.schwarzrot.data.support.AbstractEntity
          extended by de.schwarzrot.app.config.support.AbstractConfigBase
              extended by de.schwarzrot.app.config.ApplicationConfig
                  extended by de.schwarzrot.app.config.support.AbstractSysConfig
                      extended by de.schwarzrot.app.config.ServiceConfig
All Implemented Interfaces:
com.jgoodies.binding.beans.Observable, DBConfig, Entity, Serializable, Comparable<Entity>

public class ServiceConfig
extends AbstractSysConfig

configuration class for java system services

Author:
Reinhard Mantey
See Also:
Serialized Form

Constructor Summary
ServiceConfig()
           
 
Method Summary
 InetAddress getLocalAddress()
          returns the IP of the serivce
 String getLogConfig()
          returns the path of a java properties file, used to configure java logging.
 String getRecordingRoot()
           
 void setLocalAddress(InetAddress localAddress)
          sets the IP of the service.
 void setLogConfig(String logConfig)
          sets the path of a java properties file, used to configure java logging of the service.
 void setRecordingRoot(String recordingRoot)
           
 
Methods inherited from class de.schwarzrot.app.config.support.AbstractSysConfig
dump, getDbType, getDriveMappings, getDrvClassName, getDrvLibPath, getDrvUrl, getDsDB, getDsHost, getDsPassword, getDsSchema, getDsUser, getMappings, getPluginDir, getSkipList, getSupportedDBDrivers, getUserAttributes, getValuesFrom, isSetupNeeded, setDbType, setDriveMappings, setDrvClassName, setDrvLibPath, setDrvUrl, setDsDB, setDsHost, setDsPassword, setDsSchema, setDsUser, setMappings, setPluginDir, setSetupNeeded
 
Methods inherited from class de.schwarzrot.app.config.ApplicationConfig
getArchive, getExtraTBOrientation, getStartupHeight, getStartupPosition, getStartupSize, getStartupWidth, getStartupX, getStartupY, getVersion, setArchive, setExtraTBOrientation, setStartupHeight, setStartupPosition, setStartupSize, setStartupWidth, setStartupX, setStartupY, setVersion, validate
 
Methods inherited from class de.schwarzrot.app.config.support.AbstractConfigBase
getPersistenceName, getSystemClass, isUserType
 
Methods inherited from class de.schwarzrot.data.support.AbstractEntity
adoptChildren, adoptChildren, adoptGroupedChildren, compareTo, equals, getCModified, getCode, getDefaultOrder, getDtCreated, getDtModified, getId, getLogger, getSchemaName, getUCreated, getUModified, getUniqColumnNames, getVariantColumnName, getVariantTypeMap, hashCode, isDirty, isVirtual, setCModified, setDirty, setDtCreated, setDtModified, setId, setSchemaName, setUCreated, setUModified, toString
 
Methods inherited from class com.jgoodies.binding.beans.Model
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, equals, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, fireMultiplePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.jgoodies.binding.beans.Observable
addPropertyChangeListener, removePropertyChangeListener
 

Constructor Detail

ServiceConfig

public ServiceConfig()
Method Detail

getLocalAddress

public final InetAddress getLocalAddress()
returns the IP of the serivce

Returns:
the localAddress

getLogConfig

public final String getLogConfig()
returns the path of a java properties file, used to configure java logging. Each service tells what it is doing to logfiles.

Returns:
- path of logging configuration file

getRecordingRoot

public String getRecordingRoot()

setLocalAddress

public final void setLocalAddress(InetAddress localAddress)
sets the IP of the service. Each service is bound to an IP address. This way the ServiceManager can distinct services, they have to care about from other defined services

Parameters:
localAddress - the localAddress to set

setLogConfig

public final void setLogConfig(String logConfig)
sets the path of a java properties file, used to configure java logging of the service.

Parameters:
logConfig - - path of logging configuration file

setRecordingRoot

public void setRecordingRoot(String recordingRoot)

SRJRCFrames
v0.1.296

hosted at
Find SRJRCFrames at SourceForge.net. Fast, secure and free:
           Open Source Software download
Submit a bug or request a feature

SRJRCFrames is published according to the GNU General Public License
Copyright 2005-2012 Reinhard Mantey - some rights reserved.