Class LarvaActionUtils

java.lang.Object
org.frankframework.larva.actions.LarvaActionUtils

public class LarvaActionUtils extends Object
Reflection helper to create Larva Actions When a class is created it will attempt to set the name and disable HTTP SSL capabilities by default When setting the bean properties it loops through the available setter methods and looks for a matching property.
Author:
Niels Meijer
  • Constructor Details

    • LarvaActionUtils

      public LarvaActionUtils()
  • Method Details

    • getSubProperties

      public static Properties getSubProperties(Properties properties, String keyBase)
    • invokeSetters

      public static void invokeSetters(Object clazz, Properties actionProperties)
    • createParametersMapFromParamProperties

      public static Map<String,IParameter> createParametersMapFromParamProperties(Properties properties, PipeLineSession session)
      Create a Map for a specific property based on other properties that are the same except for a .param1.name, .param1.value or .param1.valuefile suffix. The property with the .name suffix specifies the key for the Map, the property with the value suffix specifies the value for the Map. A property with a the .valuefile suffix can be used as an alternative for a property with a .value suffix to specify the file to read the value for the Map from. More than one param can be specified by using param2, param3 etc.
      Parameters:
      properties - Properties object from which to create the map
      property - Property name to use as base name
      Returns:
      A map with parameters