public class SimpleCommand extends AbstractCommand
Function which creates Action based on a class name.| Constructor and Description |
|---|
SimpleCommand() |
SimpleCommand(Class<? extends Action> actionClass) |
| Modifier and Type | Method and Description |
|---|---|
Action |
createNewAction() |
static org.osgi.framework.ServiceRegistration |
export(org.osgi.framework.BundleContext context,
Class<? extends Action> actionClass) |
Class<? extends Action> |
getActionClass() |
void |
setActionClass(Class<? extends Action> actionClass) |
execute, getPreparator, releaseActionpublic Class<? extends Action> getActionClass()
getActionClass in class AbstractCommandpublic Action createNewAction()
createNewAction in class AbstractCommandCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.