com.epam.admintool.commands
Class CommandHandler

java.lang.Object
  extended by com.epam.admintool.commands.CommandHandler
All Implemented Interfaces:
ICommandHandler

public class CommandHandler
extends Object
implements ICommandHandler


Field Summary
protected static Log LOG
           
 
Constructor Summary
CommandHandler()
          Creates the CommandHandler .
 
Method Summary
 Command getCommand(String xmlContent, String externalPackage)
          Gets command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static Log LOG
Constructor Detail

CommandHandler

public CommandHandler()
Creates the CommandHandler .

Method Detail

getCommand

public Command getCommand(String xmlContent,
                          String externalPackage)
                   throws Exception
Description copied from interface: ICommandHandler
Gets command.

Specified by:
getCommand in interface ICommandHandler
Parameters:
xmlContent - the xml context
externalPackage - the session parameters
Returns:
Command - if command found or null - otherwise
Throws:
javax.xml.bind.JAXBException - - exception if error occurred
InstantiationException
IllegalAccessException
Exception
See Also:
ICommandHandler.getCommand(String, String)


Copyright © 2000-2014 EPAM Systems. All Rights Reserved.