org.teleal.cling.model.action
Class AbstractActionExecutor
java.lang.Object
org.teleal.cling.model.action.AbstractActionExecutor
- All Implemented Interfaces:
- ActionExecutor
- Direct Known Subclasses:
- MethodActionExecutor, QueryStateVariableExecutor
public abstract class AbstractActionExecutor
- extends Object
- implements ActionExecutor
- Author:
- Christian Bauer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
outputArgumentAccessors
protected Map<ActionArgument<LocalService>,StateVariableAccessor> outputArgumentAccessors
AbstractActionExecutor
protected AbstractActionExecutor()
AbstractActionExecutor
protected AbstractActionExecutor(Map<ActionArgument<LocalService>,StateVariableAccessor> outputArgumentAccessors)
getOutputArgumentAccessors
public Map<ActionArgument<LocalService>,StateVariableAccessor> getOutputArgumentAccessors()
execute
public void execute(ActionInvocation<LocalService> actionInvocation)
- Specified by:
execute
in interface ActionExecutor
execute
protected abstract void execute(ActionInvocation<LocalService> actionInvocation,
Object serviceImpl)
throws Exception
- Throws:
Exception
readOutputArgumentValues
protected Object readOutputArgumentValues(Action<LocalService> action,
Object instance)
throws Exception
- Throws:
Exception
setOutputArgumentValue
protected void setOutputArgumentValue(ActionInvocation<LocalService> actionInvocation,
ActionArgument<LocalService> argument,
Object result)
throws ActionException
- Throws:
ActionException
Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.