|
Griffon 1.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.griffon.runtime.core.AbstractMVCGroupManager
org.codehaus.griffon.runtime.core.DefaultMVCGroupManager
public class DefaultMVCGroupManager extends AbstractMVCGroupManager
Base implementation of the MVCGroupManager interface.
Field Summary | |
---|---|
private static String |
CONFIG_KEY_COMPONENT
|
private static String |
CONFIG_KEY_EVENTS_DESTRUCTION
|
private static String |
CONFIG_KEY_EVENTS_INSTANTIATION
|
private static String |
CONFIG_KEY_EVENTS_LIFECYCLE
|
private static String |
CONFIG_KEY_EVENTS_LISTENER
|
private static Object[] |
EMPTY_ARGS
|
private static String |
KEY_BUILDER
|
private static String |
KEY_MVC_GROUP_DESTROY
|
private static String |
KEY_MVC_GROUP_INIT
|
private static Logger |
LOG
|
Fields inherited from class AbstractMVCGroupManager | |
---|---|
LOG, app, configurations, groups, initialized, lock |
Constructor Summary | |
DefaultMVCGroupManager(GriffonApplication app)
|
Method Summary | |
---|---|
protected MVCGroup
|
buildMVCGroup(MVCGroupConfiguration configuration, String mvcId, Map args)
|
protected void
|
checkIdIsUnique(String mvcId, MVCGroupConfiguration configuration)
|
protected Map
|
copyAndConfigureArguments(Map args, MVCGroupConfiguration configuration, String mvcId)
|
void
|
destroyMVCGroup(String mvcId)
|
protected void
|
doAddGroup(MVCGroup group)
|
protected void
|
doInitialize(Map configurations)
|
protected void
|
doRemoveGroup(MVCGroup group)
|
protected void
|
fillReferencedProperties(MVCGroup group, Map args)
|
protected void
|
initializeMembers(MVCGroup group, Map args)
|
protected Map
|
instantiateMembers(Map klassMap, Map args, Map griffonClassMap, FactoryBuilderSupport builder)
|
protected boolean
|
isConfigFlagEnabled(MVCGroupConfiguration configuration, String key)
|
protected Class
|
loadClass(String className)
|
MVCGroup
|
newMVCGroup(MVCGroupConfiguration configuration, String mvcId, Map members)
|
MVCGroupConfiguration
|
newMVCGroupConfiguration(String mvcType, Map members, Map config)
|
protected void
|
selectClassesPerMember(String memberType, String memberClassName, Map klassMap, Map metaClassMap, Map griffonClassMap)
|
Field Detail |
---|
private static final String CONFIG_KEY_COMPONENT
private static final String CONFIG_KEY_EVENTS_DESTRUCTION
private static final String CONFIG_KEY_EVENTS_INSTANTIATION
private static final String CONFIG_KEY_EVENTS_LIFECYCLE
private static final String CONFIG_KEY_EVENTS_LISTENER
private static final Object[] EMPTY_ARGS
private static final String KEY_BUILDER
private static final String KEY_MVC_GROUP_DESTROY
private static final String KEY_MVC_GROUP_INIT
private static final Logger LOG
Constructor Detail |
---|
public DefaultMVCGroupManager(GriffonApplication app)
Method Detail |
---|
protected MVCGroup buildMVCGroup(MVCGroupConfiguration configuration, String mvcId, Map args)
protected void checkIdIsUnique(String mvcId, MVCGroupConfiguration configuration)
protected Map copyAndConfigureArguments(Map args, MVCGroupConfiguration configuration, String mvcId)
public void destroyMVCGroup(String mvcId)
protected void doAddGroup(MVCGroup group)
protected void doInitialize(Map configurations)
protected void doRemoveGroup(MVCGroup group)
protected void fillReferencedProperties(MVCGroup group, Map args)
protected void initializeMembers(MVCGroup group, Map args)
protected Map instantiateMembers(Map klassMap, Map args, Map griffonClassMap, FactoryBuilderSupport builder)
protected boolean isConfigFlagEnabled(MVCGroupConfiguration configuration, String key)
protected Class loadClass(String className)
public MVCGroup newMVCGroup(MVCGroupConfiguration configuration, String mvcId, Map members)
public MVCGroupConfiguration newMVCGroupConfiguration(String mvcType, Map members, Map config)
protected void selectClassesPerMember(String memberType, String memberClassName, Map klassMap, Map metaClassMap, Map griffonClassMap)
Groovy Documentation