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 Details

    • ReflectiveMethodMappingSource

      public ReflectiveMethodMappingSource()
      Deprecated.
  • Method Details

    • getTargetMethod

      public Method getTargetMethod(Method calledMethod, Class<?> targetClass)
      Deprecated.
      Description copied from interface: MethodMappingSource
      Ermittelt eine Zielmethode zu einer aufgerufenen Methode.
      Specified by:
      getTargetMethod in interface MethodMappingSource
      Parameters:
      calledMethod - die aufgerufene Methode
      targetClass - die Zielklasse, die die Zielmethode implementiert
      Returns:
      die aufzurufende Methode der target-Bean
    • isMatch

      protected boolean isMatch(Method calledMethod, Method possibleMatch)
      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 method
      possibleMatch - a possible target method
      Returns:
      true on match
    • skipParameter

      public boolean skipParameter(Class<?> parameterType)
      Deprecated.
      Description copied from interface: MethodMappingSource
      Prüft, ob ein Parameter übersprungen, d.h. nicht an die Zielmethode weitergegeben werden soll.
      Specified by:
      skipParameter in interface MethodMappingSource
      Parameters:
      parameterType - der Parametertyp
      Returns:
      ob der Parameter übersprungen werden soll
    • getMethodSignatureString

      protected String getMethodSignatureString(Method method)
      Deprecated.
      Returns the method signature as a string.
      Parameters:
      method - the method
      Returns:
      the method signature as a string.