Package com.epam.admintool.commands
Class CommandHandler
java.lang.Object
com.epam.admintool.commands.CommandHandler
- All Implemented Interfaces:
ICommandHandler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCommand
(String xmlContent, String externalPackage) Gets command.protected void
-
Field Details
-
supportedCommands
-
-
Constructor Details
-
CommandHandler
public CommandHandler()Creates theCommandHandler
.
-
-
Method Details
-
initCommands
protected void initCommands() -
getCommand
Description copied from interface:ICommandHandler
Gets command.- Specified by:
getCommand
in interfaceICommandHandler
- Parameters:
xmlContent
- the xml contextexternalPackage
- the session parameters- Returns:
- Command - if command found or null - otherwise
- Throws:
jakarta.xml.bind.JAXBException
- - exception if error occurredInstantiationException
IllegalAccessException
Exception
- See Also:
-