Class ReflectiveMethodMappingSource
java.lang.Object
de.bund.bva.isyfact.serviceapi.core.serviceimpl.ReflectiveMethodMappingSource
- All Implemented Interfaces:
MethodMappingSource
@Deprecated
public class ReflectiveMethodMappingSource
extends Object
implements MethodMappingSource
Deprecated.
This module is deprecated and will be removed in a future release.
It is recommended to use REST according to IsyFacts REST Concept instead.
Implementation of
MethodMappingSource, which uses reflection to determine the appropriate target method.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetMethodSignatureString(Method method) Deprecated.Returns the method signature as a string.getTargetMethod(Method calledMethod, Class<?> targetClass) Deprecated.Ermittelt eine Zielmethode zu einer aufgerufenen Methode.protected booleanDeprecated.Checks if a possible target method matches the called method.booleanskipParameter(Class<?> parameterType) Deprecated.Prüft, ob ein Parameter übersprungen, d.h.
-
Constructor Details
-
ReflectiveMethodMappingSource
public ReflectiveMethodMappingSource()Deprecated.
-
-
Method Details
-
getTargetMethod
Deprecated.Description copied from interface:MethodMappingSourceErmittelt eine Zielmethode zu einer aufgerufenen Methode.- Specified by:
getTargetMethodin interfaceMethodMappingSource- Parameters:
calledMethod- die aufgerufene MethodetargetClass- die Zielklasse, die die Zielmethode implementiert- Returns:
- die aufzurufende Methode der target-Bean
-
isMatch
Deprecated.Checks if a possible target method matches the called method. This implementation checks for Name match and number of parameters.- Parameters:
calledMethod- the called methodpossibleMatch- a possible target method- Returns:
trueon match
-
skipParameter
Deprecated.Description copied from interface:MethodMappingSourcePrüft, ob ein Parameter übersprungen, d.h. nicht an die Zielmethode weitergegeben werden soll.- Specified by:
skipParameterin interfaceMethodMappingSource- Parameters:
parameterType- der Parametertyp- Returns:
- ob der Parameter übersprungen werden soll
-
getMethodSignatureString
Deprecated.Returns the method signature as a string.- Parameters:
method- the method- Returns:
- the method signature as a string.
-