org.glassfish.config.support
Class GenericCreateCommand
java.lang.Object
org.glassfish.config.support.GenericCrudCommand
org.glassfish.config.support.GenericCreateCommand
- All Implemented Interfaces:
- AdminCommand, CommandModelProvider, org.jvnet.hk2.component.PostConstruct
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
public class GenericCreateCommand
- extends GenericCrudCommand
- implements AdminCommand, org.jvnet.hk2.component.PostConstruct, CommandModelProvider
Generic create command implementation.
This command can create POJO configuration objects from an asadmin command
invocation parameters.
So far, such POJO must be ConfigBeanProxy subclasses and be annotated with the
Param annotation to property function.
- Author:
- Jerome Dochez
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericCreateCommand
public GenericCreateCommand()
postConstruct
public void postConstruct()
- Specified by:
postConstruct in interface org.jvnet.hk2.component.PostConstruct- Overrides:
postConstruct in class GenericCrudCommand
execute
public void execute(AdminCommandContext context)
- Specified by:
execute in interface AdminCommand
getModel
public CommandModel getModel()
- Specified by:
getModel in interface CommandModelProvider
Copyright © 2012 GlassFish Community. All Rights Reserved.