public class DefaultMVCGroupManager extends AbstractMVCGroupManager
MVCGroupManager interface.| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | DefaultMVCGroupManager.ClassHolder | 
| protected static class  | DefaultMVCGroupManager.FieldInjectionPoint | 
| protected static class  | DefaultMVCGroupManager.InjectionPoint | 
| protected static class  | DefaultMVCGroupManager.MethodInjectionPoint | 
| Modifier and Type | Field and Description | 
|---|---|
| protected ApplicationClassLoader | applicationClassLoader | 
| protected static String | CONFIG_KEY_COMPONENT | 
| protected static String | CONFIG_KEY_EVENTS_DESTRUCTION | 
| protected static String | CONFIG_KEY_EVENTS_INSTANTIATION | 
| protected static String | CONFIG_KEY_EVENTS_LIFECYCLE | 
| protected static String | CONFIG_KEY_EVENTS_LISTENER | 
| protected static String | ERROR_VALUE_NULL | 
| protected Instantiator | instantiator | 
| protected static String | KEY_PARENT_GROUP | 
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 | 
|---|
| DefaultMVCGroupManager(GriffonApplication application,
                      ApplicationClassLoader applicationClassLoader,
                      Instantiator instantiator) | 
addConfiguration, addGroup, cloneMVCGroupConfiguration, createMVC, createMVC, createMVC, createMVC, createMVC, createMVC, createMVC, createMVC, createMVC, createMVC, createMVC, createMVC, createMVC, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, createMVCGroup, findConfiguration, findController, findGroup, findModel, findView, getApplication, getAt, getConfigurations, getController, getControllers, getGroups, getModel, getModels, getView, getViews, initialize, nameOf, newContext, newMVCGroup, newMVCGroupConfiguration, removeConfiguration, removeConfiguration, removeGroup, typedMvcGroup, withMVC, withMVC, withMVC, withMVC, withMVC, withMVC, withMVC, withMVC, withMVC, withMVC, withMVC, withMVC, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroup, withMVCGroupprotected static final String ERROR_VALUE_NULL
protected static final String CONFIG_KEY_COMPONENT
protected static final String CONFIG_KEY_EVENTS_LIFECYCLE
protected static final String CONFIG_KEY_EVENTS_INSTANTIATION
protected static final String CONFIG_KEY_EVENTS_DESTRUCTION
protected static final String CONFIG_KEY_EVENTS_LISTENER
protected static final String KEY_PARENT_GROUP
protected final ApplicationClassLoader applicationClassLoader
protected final Instantiator instantiator
@Inject public DefaultMVCGroupManager(@Nonnull GriffonApplication application, @Nonnull ApplicationClassLoader applicationClassLoader, @Nonnull Instantiator instantiator)
protected void doInitialize(@Nonnull Map<String,MVCGroupConfiguration> configurations)
doInitialize in class AbstractMVCGroupManager@Nonnull protected MVCGroup createMVCGroup(@Nonnull MVCGroupConfiguration configuration, @Nullable String mvcId, @Nonnull Map<String,Object> args)
createMVCGroup in class AbstractMVCGroupManagerprotected void adjustMvcArguments(@Nonnull MVCGroup group, @Nonnull Map<String,Object> args)
@Nonnull protected String resolveMvcId(@Nonnull MVCGroupConfiguration configuration, @Nullable String mvcId)
protected void selectClassesPerMember(@Nonnull String memberType, @Nonnull String memberClassName, @Nonnull Map<String,DefaultMVCGroupManager.ClassHolder> classMap)
@Nonnull protected Map<String,Object> copyAndConfigureArguments(@Nonnull Map<String,Object> args, @Nonnull MVCGroupConfiguration configuration, @Nonnull String mvcId)
protected void checkIdIsUnique(@Nonnull String mvcId, @Nonnull MVCGroupConfiguration configuration)
@Nonnull protected Map<String,Object> instantiateMembers(@Nonnull Map<String,DefaultMVCGroupManager.ClassHolder> classMap, @Nonnull Map<String,Object> args)
protected void initializeMembers(@Nonnull MVCGroup group, @Nonnull Map<String,Object> args)
protected void initializeArtifactMember(@Nonnull MVCGroup group, @Nonnull String type, @Nonnull GriffonArtifact member, @Nonnull Map<String,Object> args)
protected void initializeNonArtifactMember(@Nonnull MVCGroup group, @Nonnull String type, @Nonnull Object member, @Nonnull Map<String,Object> args)
protected void fillReferencedProperties(@Nonnull MVCGroup group, @Nonnull Map<String,Object> args)
@Nonnull protected DefaultMVCGroupManager.InjectionPoint.Kind resolveKind(@Nonnull AnnotatedElement element)
@Nonnull protected String resolveFormat(@Nonnull AnnotatedElement element)
@Nonnull protected Class<? extends PropertyEditor> resolveEditor(@Nonnull AnnotatedElement element)
protected boolean isContextual(AnnotatedElement element)
protected boolean isInjectable(AnnotatedElement element)
protected boolean isMvcMember(AnnotatedElement element)
public void destroyMVCGroup(@Nonnull String mvcId)
MVCHandlerATTENTION: make sure to call the super implementation if you override this method otherwise group references will not be kept up to date.
mvcId - the name of the group to destroy and dispose.protected void destroyMembers(@Nonnull MVCGroup group, boolean fireDestructionEvents)
protected void destroyArtifactMember(@Nonnull String type, @Nonnull GriffonArtifact member, boolean fireDestructionEvents)
protected void destroyContextualMemberProperties(@Nonnull String type, @Nonnull GriffonArtifact member)
protected void destroyNonArtifactMember(@Nonnull String type, @Nonnull Object member, boolean fireDestructionEvents)
protected boolean isConfigFlagEnabled(@Nonnull MVCGroupConfiguration configuration, @Nonnull String key)