com.acciente.induction.init.config
Class Config.ModelDefs

java.lang.Object
  extended by com.acciente.induction.init.config.Config.ModelDefs
Enclosing class:
Config

public static class Config.ModelDefs
extends Object

Modular configuration container


Nested Class Summary
static class Config.ModelDefs.ModelDef
          Modular configuration container
 
Constructor Summary
Config.ModelDefs()
           
 
Method Summary
 void addModelDef(String sModelClassName, String sModelFactoryClassName, boolean bIsStaticScope, boolean bIsApplicationScope, boolean bIsSessionScope, boolean bIsRequestScope, boolean bIsInitOnStartUp)
          Adds a new model definition
 Config.ModelDefs.ModelDef getModelDef(String sModelClassName)
           
 Collection getModelDefList()
           
 String toString()
           
 String toXML()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Config.ModelDefs

public Config.ModelDefs()
Method Detail

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 classname
sModelFactoryClassName - string representing a fully qualified model factory classname
bIsApplicationScope - true if a single model object should be created per application
bIsSessionScope - true if a single model object should be created per session
bIsRequestScope - true if a single model object should be created per request
bIsInitOnStartUp - 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.