Recently I was working on a lifecyle method and I have had little experience with them in the past so there were a slight learning curve. However, even after getting it to work I'm not satisfied with how it works. The problem is the userPostProcessing method. It does not allow for any arguments so I have to write one class that implements IDfLifecycleUserPostProcessing for each task that I might need. The most recent task I performed was to change the PST in the post change action. If I need to do that again I would need to duplicate all of this code instead of simply passing parameters. It wold be nice if I could override userPostProcessing and add an Object[] or something similar. Is there an object-oriented programming solution, because if there is I don't see it.
What are my options, is it possible to do this in a way that allows me to use the code more efficiently? If not, is there a way to do generally the same thing as the userPostProcessing method but using some other method?