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, ERROR_NAME_BLANK, ERROR_TYPE_NULL
Constructor and Description |
---|
GroovyAwareMVCGroupManager(GriffonApplication application,
ApplicationClassLoader applicationClassLoader) |
checkIdIsUnique, copyAndConfigureArguments, createMVCGroup, destroyArtifactMember, destroyMVCGroup, destroyNonArtifactMember, doAddGroup, doInitialize, doRemoveGroup, fillReferencedProperties, initializeMembers, isConfigFlagEnabled, loadClass, newMVCGroupConfiguration, resolveMvcId, selectClassesPerMember
addConfiguration, addGroup, cloneMVCGroupConfiguration, createMVC, createMVC, createMVC, createMVC, createMVC, createMVC, createMVC, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, findConfiguration, findController, findGroup, findModel, findView, getApplication, getAt, getConfigurations, getController, getControllers, getGroups, getModel, getModels, getView, getViews, initialize, removeConfiguration, removeConfiguration, removeGroup, withMVC, withMVC, withMVC, withMVC, withMVC, withMVC, withMVCGroup, 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)