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, releaseAction
public Class<? extends Action> getActionClass()
getActionClass
in class AbstractCommand
public Action createNewAction()
createNewAction
in class AbstractCommand
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.