Return to www.inductionframework.org

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 java.lang.Object

Modular configuration container


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

Constructor Detail

Config.ModelDefs

public Config.ModelDefs()
Method Detail

addModelDef

public void addModelDef(java.lang.String sModelClassName,
                        java.lang.String sModelFactoryClassName,
                        boolean bIsApplicationScope,
                        boolean bIsSessionScope,
                        boolean bIsRequestScope)
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

getModelDef

public Config.ModelDefs.ModelDef getModelDef(java.lang.String sModelClassName)

getModelDefList

public java.util.Collection getModelDefList()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toXML

public java.lang.String toXML()

Return to www.inductionframework.org

Copyright (c) 2008 Acciente, LLC. All rights reserved.