Expresso 5-5-0

com.jcorporate.expresso.core.misc
Class ConfigContext

java.lang.Object
  extended bycom.jcorporate.expresso.core.misc.ConfigContext

public class ConfigContext
extends Object

Bean class helping with expresso-config.xml and working with the Digester to read the configuration. A config context is in the past called a 'db'. It represents one connection to a database. (May be separate database), each context has it's own job handler, potentially it's own security setup. etc.


Constructor Summary
ConfigContext()
           
 
Method Summary
 void addCustomProperty(ConfigCustomProperty newCustom)
           
 void addJdbc(ConfigJdbc newJdbc)
           
 void addLdap(ConfigLdap newLdap)
           
 void addPathMapping(ConfigPathMapping newPathMapping)
           
 void addSetupDefault(ConfigSetupDefault newDefault)
           
 void addTypeMapping(ConfigTypeMapping newMapping)
           
 String getCountry()
           
 Vector getCustomProperties()
           
 String getCustomProperty(String customPropertyName)
           
 String getDescription()
           
 String getExpressoDir()
           
 String getImages()
           
 ConfigJdbc getJdbc()
           
 String getLanguage()
           
 ConfigLdap getLdap()
           
 String getMinPasswordSize()
           
 String getName()
           
 Vector getPathMappings()
           
 Vector getSetupDefaults()
           
 String getStyleSheet()
           
 Vector getTypeMappings()
           
 boolean hasSetupTables()
           
 boolean isActive()
           
 boolean isUseSSL()
           
 boolean mailDebug()
           
 void setActive(boolean newValue)
           
 void setActive(String newActive)
           
 void setCountry(String newCountry)
           
 void setDescription(String newDescrip)
           
 void setExpressoDir(String newDir)
           
 void setHasSetupTables(String newHasSetup)
           
 void setImages(String newImages)
           
 void setLanguage(String newLang)
           
 void setMailDebug(String newMailDebug)
           
 void setMinPasswordSize(String newSize)
           
 void setName(String newName)
           
 void setShowStackTrace(String newStackTrace)
           
 void setStartJobHandler(String newJobHandler)
           
 void setStyleSheet(String newSheet)
           
 void setUseEmailAsLogin(String newUse)
           
 void setUseSSL(boolean newValue)
           
 void setUseSSL(String newValue)
           
 boolean showStackTrace()
           
 boolean startJobHandler()
           
 boolean useEmailAsLogin()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigContext

public ConfigContext()
Method Detail

setUseEmailAsLogin

public void setUseEmailAsLogin(String newUse)

useEmailAsLogin

public boolean useEmailAsLogin()

setStyleSheet

public void setStyleSheet(String newSheet)

getStyleSheet

public String getStyleSheet()

setMinPasswordSize

public void setMinPasswordSize(String newSize)

getMinPasswordSize

public String getMinPasswordSize()

getSetupDefaults

public Vector getSetupDefaults()

addSetupDefault

public void addSetupDefault(ConfigSetupDefault newDefault)

getCustomProperties

public Vector getCustomProperties()

getCustomProperty

public String getCustomProperty(String customPropertyName)
Returns:
property value, or null if not found

addJdbc

public void addJdbc(ConfigJdbc newJdbc)

addPathMapping

public void addPathMapping(ConfigPathMapping newPathMapping)

getPathMappings

public Vector getPathMappings()

addLdap

public void addLdap(ConfigLdap newLdap)

setExpressoDir

public void setExpressoDir(String newDir)

getExpressoDir

public String getExpressoDir()

setLanguage

public void setLanguage(String newLang)

getLanguage

public String getLanguage()

setCountry

public void setCountry(String newCountry)

getCountry

public String getCountry()

setActive

public void setActive(String newActive)

setActive

public void setActive(boolean newValue)

setUseSSL

public void setUseSSL(String newValue)

setUseSSL

public void setUseSSL(boolean newValue)

isActive

public boolean isActive()

isUseSSL

public boolean isUseSSL()

addTypeMapping

public void addTypeMapping(ConfigTypeMapping newMapping)

getTypeMappings

public Vector getTypeMappings()

getJdbc

public ConfigJdbc getJdbc()

getLdap

public ConfigLdap getLdap()

addCustomProperty

public void addCustomProperty(ConfigCustomProperty newCustom)

setStartJobHandler

public void setStartJobHandler(String newJobHandler)

startJobHandler

public boolean startJobHandler()

setShowStackTrace

public void setShowStackTrace(String newStackTrace)

showStackTrace

public boolean showStackTrace()

setMailDebug

public void setMailDebug(String newMailDebug)

mailDebug

public boolean mailDebug()

setName

public void setName(String newName)

getName

public String getName()

setDescription

public void setDescription(String newDescrip)

getDescription

public String getDescription()

setImages

public void setImages(String newImages)

getImages

public String getImages()

setHasSetupTables

public void setHasSetupTables(String newHasSetup)

hasSetupTables

public boolean hasSetupTables()

Expresso 5-5-0

Please see www.jcorporate.com for information about new Expresso releases.