AnsweredAssumed Answered

Helper method for checking ServiceTasks implementing class

Question asked by thilka on Feb 24, 2011
Latest reply on Feb 24, 2011 by frederikheremans1
Hello,

in ClassDelegate there are helper methods to check if activiti can find and instantiate the class for a service task.

But for really using a class as service task this class must either implement JavaDelegate or ActivityBehaviour.

Could you add a helper method to check if the class implements the correct interface? Otherwise the user can configure some class but does not know if this class is correct until the process is run.
This is more or less a tooling question, but we want to offer the definition of the service class to our customers using our own UI. We could of course check the interfaces of the given class ourselves, but if you change something (e.g. third possible interface), we have to change our implementation as well.

Tobias

Outcomes