Package org.jupnp.model.action
Klasse MethodActionExecutor
java.lang.Object
org.jupnp.model.action.AbstractActionExecutor
org.jupnp.model.action.MethodActionExecutor
- Alle implementierten Schnittstellen:
ActionExecutor
Invokes methods on a service implementation instance with reflection.
If the method has an additional last parameter of type
RemoteClientInfo, the details
of the control point client will be provided to the action method. You can use this
to get the client's address and request headers, and to provide extra response headers.
- Autor:
- Christian Bauer
-
Feldübersicht
FelderVon Klasse geerbte Felder org.jupnp.model.action.AbstractActionExecutor
outputArgumentAccessors -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungMethodActionExecutor(Method method) MethodActionExecutor(Map<ActionArgument<LocalService>, StateVariableAccessor> outputArgumentAccessors, Method method) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected Object[]createInputArgumentValues(ActionInvocation<LocalService> actionInvocation, Method method) protected voidexecute(ActionInvocation<LocalService> actionInvocation, Object serviceImpl) protected booleanisUseOutputArgumentAccessors(ActionInvocation<LocalService> actionInvocation) Von Klasse geerbte Methoden org.jupnp.model.action.AbstractActionExecutor
execute, getOutputArgumentAccessors, readOutputArgumentValues, setOutputArgumentValue
-
Felddetails
-
method
-
-
Konstruktordetails
-
MethodActionExecutor
-
MethodActionExecutor
public MethodActionExecutor(Map<ActionArgument<LocalService>, StateVariableAccessor> outputArgumentAccessors, Method method)
-
-
Methodendetails
-
getMethod
-
execute
protected void execute(ActionInvocation<LocalService> actionInvocation, Object serviceImpl) throws Exception - Angegeben von:
executein KlasseAbstractActionExecutor- Löst aus:
Exception
-
isUseOutputArgumentAccessors
-
createInputArgumentValues
protected Object[] createInputArgumentValues(ActionInvocation<LocalService> actionInvocation, Method method) throws ActionException - Löst aus:
ActionException
-