A business rule at work requires some flexible configurations. I attempted to fulfill the need by create different spring batch steps/tasklets to execute each requirement based on a property value. For example, step 1 will need to execute methodOne on the class Repository with the appropriate parameters. The method signature & parameters are determined by… Continue reading Dynamically invoke methods using spring config
Not really a new trick but I had to look for the syntax today to use reflection to set a private property on an object to use it in a junit test.