public class GroovyAwareMVCGroupManager extends DefaultMVCGroupManager
DefaultMVCGroupManager.ClassHolder
ERROR_ARGS_NULL, ERROR_CONFIG_NULL, ERROR_CONFIGURATION_NULL, ERROR_GROUP_NULL, ERROR_MVCID_BLANK, ERROR_MVCTYPE_BLANK
Constructor and Description |
---|
GroovyAwareMVCGroupManager(GriffonApplication application,
ApplicationClassLoader applicationClassLoader) |
Modifier and Type | Method and Description |
---|---|
protected void |
adjustMvcArguments(MVCGroup group,
Map<String,Object> args) |
protected groovy.util.FactoryBuilderSupport |
createBuilder(GriffonApplication application) |
protected void |
destroyMembers(MVCGroup group,
boolean fireDestructionEvents) |
protected void |
fillNonArtifactMemberProperties(String type,
Object member,
Map<String,Object> args) |
protected void |
initializeArtifactMember(MVCGroup group,
String type,
GriffonArtifact member,
Map<String,Object> args) |
protected void |
initializeNonArtifactMember(MVCGroup group,
String type,
Object member,
Map<String,Object> args) |
protected Map<String,Object> |
instantiateMembers(Map<String,DefaultMVCGroupManager.ClassHolder> classMap,
Map<String,Object> args) |
MVCGroup |
newMVCGroup(MVCGroupConfiguration configuration,
String mvcId,
Map<String,Object> members)
Creates a new MVCGroup instance.
|
protected Collection<BuilderCustomizer> |
resolveBuilderCustomizers(GriffonApplication application) |
buildMVCGroup, checkIdIsUnique, copyAndConfigureArguments, destroyArtifactMember, destroyMVCGroup, destroyNonArtifactMember, doAddGroup, doInitialize, doRemoveGroup, fillReferencedProperties, initializeMembers, isConfigFlagEnabled, loadClass, newMVCGroupConfiguration, resolveMvcId, selectClassesPerMember
addConfiguration, addGroup, buildMVCGroup, buildMVCGroup, buildMVCGroup, buildMVCGroup, buildMVCGroup, buildMVCGroup, cloneMVCGroupConfiguration, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, findConfiguration, findGroup, getApplication, getAt, getConfigurations, getControllers, getGroups, getModels, getViews, initialize, removeConfiguration, removeConfiguration, removeGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup
@Inject public GroovyAwareMVCGroupManager(@Nonnull GriffonApplication application, @Nonnull ApplicationClassLoader applicationClassLoader)
@Nonnull public MVCGroup newMVCGroup(@Nonnull MVCGroupConfiguration configuration, @Nullable String mvcId, @Nonnull Map<String,Object> members)
MVCGroupManager
newMVCGroup
in interface MVCGroupManager
newMVCGroup
in class DefaultMVCGroupManager
configuration
- the configuration of the groupmvcId
- the id to use for the groupmembers
- the instance members of the group@Nonnull protected Map<String,Object> instantiateMembers(@Nonnull Map<String,DefaultMVCGroupManager.ClassHolder> classMap, @Nonnull Map<String,Object> args)
instantiateMembers
in class DefaultMVCGroupManager
@Nonnull protected groovy.util.FactoryBuilderSupport createBuilder(@Nonnull GriffonApplication application)
protected void adjustMvcArguments(@Nonnull MVCGroup group, @Nonnull Map<String,Object> args)
adjustMvcArguments
in class DefaultMVCGroupManager
protected void fillNonArtifactMemberProperties(@Nonnull String type, @Nonnull Object member, @Nonnull Map<String,Object> args)
fillNonArtifactMemberProperties
in class DefaultMVCGroupManager
protected void initializeArtifactMember(@Nonnull MVCGroup group, @Nonnull String type, @Nonnull GriffonArtifact member, @Nonnull Map<String,Object> args)
initializeArtifactMember
in class DefaultMVCGroupManager
protected void initializeNonArtifactMember(@Nonnull MVCGroup group, @Nonnull String type, @Nonnull Object member, @Nonnull Map<String,Object> args)
initializeNonArtifactMember
in class DefaultMVCGroupManager
protected void destroyMembers(@Nonnull MVCGroup group, boolean fireDestructionEvents)
destroyMembers
in class DefaultMVCGroupManager
@Nonnull protected Collection<BuilderCustomizer> resolveBuilderCustomizers(@Nonnull GriffonApplication application)