org.tango.server.command
Class ReflectCommandBehavior
java.lang.Object
org.tango.server.command.ReflectCommandBehavior
- All Implemented Interfaces:
- ICommandBehavior
public final class ReflectCommandBehavior
- extends java.lang.Object
- implements ICommandBehavior
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ReflectCommandBehavior
public ReflectCommandBehavior(java.lang.reflect.Method executeMethod,
java.lang.Object businessObject,
CommandConfiguration config)
execute
public java.lang.Object execute(java.lang.Object arg)
throws fr.esrf.Tango.DevFailed
- Description copied from interface:
ICommandBehavior
- Execute the command
- Specified by:
execute
in interface ICommandBehavior
- Parameters:
arg
- the input of the command
- Returns:
- The ouput of the command
- Throws:
fr.esrf.Tango.DevFailed
getConfiguration
public CommandConfiguration getConfiguration()
- Specified by:
getConfiguration
in interface ICommandBehavior
- Returns:
- the command configuration
getStateMachine
public StateMachineBehavior getStateMachine()
- Specified by:
getStateMachine
in interface ICommandBehavior
- Returns:
- the command state machine
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2012-2017. All Rights Reserved.