Welcome...

To address your question, consider writing an interface whose implementation runs the method in question. Then store the references to each via a Map keyed with the appropriate string...