com.acciente.induction.init.config
Class Config.ModelDefs
java.lang.Object
com.acciente.induction.init.config.Config.ModelDefs
- Enclosing class:
- Config
public static class Config.ModelDefs
- extends Object
Modular configuration container
Config.ModelDefs
public Config.ModelDefs()
addModelDef
public void addModelDef(String sModelClassName,
String sModelFactoryClassName,
boolean bIsStaticScope,
boolean bIsApplicationScope,
boolean bIsSessionScope,
boolean bIsRequestScope,
boolean bIsInitOnStartUp)
- Adds a new model definition
- Parameters:
sModelClassName
- string representing a fully qualified model classnamesModelFactoryClassName
- string representing a fully qualified model factory classnamebIsApplicationScope
- true if a single model object should be created per applicationbIsSessionScope
- true if a single model object should be created per sessionbIsRequestScope
- true if a single model object should be created per requestbIsInitOnStartUp
- true if this model should be created on system startup, otherwise all models are
created on demand. This attribute is only valid for application scope models
getModelDef
public Config.ModelDefs.ModelDef getModelDef(String sModelClassName)
getModelDefList
public Collection getModelDefList()
toString
public String toString()
- Overrides:
toString
in class Object
toXML
public String toXML()
Copyright © 2008-2013 Acciente, LLC. All Rights Reserved.