public class CommandHandler extends Object implements ICommandHandler
Modifier and Type | Field and Description |
---|---|
protected static Log |
LOG |
protected Map<String,Class> |
supportedCommands |
Constructor and Description |
---|
CommandHandler()
Creates the
CommandHandler . |
Modifier and Type | Method and Description |
---|---|
Command |
getCommand(String xmlContent,
String externalPackage)
Gets command.
|
protected void |
initCommands() |
protected static Log LOG
protected void initCommands()
public Command getCommand(String xmlContent, String externalPackage) throws Exception
ICommandHandler
getCommand
in interface ICommandHandler
xmlContent
- the xml contextexternalPackage
- the session parametersJAXBException
- - exception if error occurredInstantiationException
IllegalAccessException
Exception
ICommandHandler.getCommand(String, String)
Copyright © 2000–2022 EPAM Systems. All rights reserved.