public class DefaultCommandFactory extends Object implements CommandFactory
| Constructor and Description |
|---|
DefaultCommandFactory() |
DefaultCommandFactory(Map<String,Command> commandMap)
Internal constructor, use
CommandFactoryFactory instead |
public DefaultCommandFactory()
public DefaultCommandFactory(Map<String,Command> commandMap)
CommandFactoryFactory insteadpublic Command getCommand(String cmdName)
getCommand in interface CommandFactorycmdName - The name of the command to createCommand matching the provided name, or
null if no such command exists.Copyright © 2003–2017 The Apache Software Foundation. All rights reserved.