Package org.glassfish.config.support
Class GenericListCommand
- java.lang.Object
-
- org.glassfish.config.support.GenericCrudCommand
-
- org.glassfish.config.support.GenericListCommand
-
- All Implemented Interfaces:
org.glassfish.api.admin.AdminCommand,org.glassfish.api.admin.AdminCommandSecurity.AccessCheckProvider,org.glassfish.api.admin.AdminCommandSecurity.Preauthorization,org.glassfish.api.admin.CommandModelProvider,org.glassfish.hk2.api.PostConstruct
@PerLookup public class GenericListCommand extends GenericCrudCommand implements org.glassfish.api.admin.AdminCommand, org.glassfish.api.admin.AdminCommandSecurity.AccessCheckProvider
Generic list command implementation.- Author:
- Jerome Dochez, Tom Mueller
-
-
Field Summary
-
Fields inherited from class org.glassfish.config.support.GenericCrudCommand
commandName, level, localStrings, logger, parentType, targetMethod, targetType
-
-
Constructor Summary
Constructors Constructor Description GenericListCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(org.glassfish.api.admin.AdminCommandContext context)Collection<? extends org.glassfish.api.admin.AccessRequired.AccessCheck>getAccessChecks()ClassgetDecoratorClass()Decorator class if particular commandorg.glassfish.api.admin.CommandModelgetModel()voidpostConstruct()-
Methods inherited from class org.glassfish.config.support.GenericCrudCommand
convertStringToProperties, elementName, getAnnotation, getInjectionResolver, loadClass, preAuthorization, setInjectionResolver
-
-
-
-
Method Detail
-
postConstruct
public void postConstruct()
- Specified by:
postConstructin interfaceorg.glassfish.hk2.api.PostConstruct- Overrides:
postConstructin classGenericCrudCommand
-
getAccessChecks
public Collection<? extends org.glassfish.api.admin.AccessRequired.AccessCheck> getAccessChecks()
- Specified by:
getAccessChecksin interfaceorg.glassfish.api.admin.AdminCommandSecurity.AccessCheckProvider
-
execute
public void execute(org.glassfish.api.admin.AdminCommandContext context)
- Specified by:
executein interfaceorg.glassfish.api.admin.AdminCommand
-
getModel
public org.glassfish.api.admin.CommandModel getModel()
- Specified by:
getModelin interfaceorg.glassfish.api.admin.CommandModelProvider
-
getDecoratorClass
public Class getDecoratorClass()
Description copied from class:GenericCrudCommandDecorator class if particular command- Specified by:
getDecoratorClassin classGenericCrudCommand
-
-