org.teleal.cling.model.action
Class MethodActionExecutor
java.lang.Object
org.teleal.cling.model.action.AbstractActionExecutor
org.teleal.cling.model.action.MethodActionExecutor
- All Implemented Interfaces:
- ActionExecutor
public class MethodActionExecutor
- extends AbstractActionExecutor
Invokes methods on a service implementation instance with reflection.
- Author:
- Christian Bauer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
method
protected Method method
MethodActionExecutor
public MethodActionExecutor(Method method)
MethodActionExecutor
public MethodActionExecutor(Map<ActionArgument<LocalService>,StateVariableAccessor> outputArgumentAccessors,
Method method)
getMethod
public Method getMethod()
execute
protected void execute(ActionInvocation<LocalService> actionInvocation,
Object serviceImpl)
throws Exception
- Specified by:
execute
in class AbstractActionExecutor
- Throws:
Exception
isUseOutputArgumentAccessors
protected boolean isUseOutputArgumentAccessors(ActionInvocation<LocalService> actionInvocation)
createInputArgumentValues
protected Object[] createInputArgumentValues(ActionInvocation<LocalService> actionInvocation,
Method method)
throws ActionException
- Throws:
ActionException
Copyright © 2011 Teleal GmbH, Switzerland. All Rights Reserved.