protected Map<Action, ActionExecutor> readActions(Class<?> clazz, Map<StateVariable, StateVariableAccessor> stateVariables, Set<Class> stringConvertibleTypes) throws LocalServiceBindingException { Map<Action, ActionExecutor> map = new HashMap<>(); for (Method method : Reflections.getMethods(clazz, UpnpAction.class)) { AnnotationActionBinder actionBinder = new AnnotationActionBinder(method, stateVariables, stringConvertibleTypes); Action action = actionBinder.appendAction(map); if(isActionExcluded(action)) { map.remove(action); } } return map; }
for (Method getter : Reflections.getMethods(clazz, UpnpStateVariable.class)) {
protected Map<Action, ActionExecutor> readActions(Class<?> clazz, Map<StateVariable, StateVariableAccessor> stateVariables, Set<Class> stringConvertibleTypes) throws LocalServiceBindingException { Map<Action, ActionExecutor> map = new HashMap(); for (Method method : Reflections.getMethods(clazz, UpnpAction.class)) { AnnotationActionBinder actionBinder = new AnnotationActionBinder(method, stateVariables, stringConvertibleTypes); Action action = actionBinder.appendAction(map); if(isActionExcluded(action)) { map.remove(action); } } return map; }
for (Method getter : Reflections.getMethods(clazz, UpnpStateVariable.class)) {
protected Map<Action, ActionExecutor> readActions(Class<?> clazz, Map<StateVariable, StateVariableAccessor> stateVariables, Set<Class> stringConvertibleTypes) throws LocalServiceBindingException { Map<Action, ActionExecutor> map = new HashMap<>(); for (Method method : Reflections.getMethods(clazz, UpnpAction.class)) { AnnotationActionBinder actionBinder = new AnnotationActionBinder(method, stateVariables, stringConvertibleTypes); Action action = actionBinder.appendAction(map); if(isActionExcluded(action)) { map.remove(action); } } return map; }
for (Method getter : Reflections.getMethods(clazz, UpnpStateVariable.class)) {