change action executor loading to use JDK service loader
--------------------------------------------------------
Key: OOZIE-811
URL: https://issues.apache.org/jira/browse/OOZIE-811
Project: Oozie
Issue Type: Improvement
Components: action, core
Affects Versions: 3.2.0
Reporter: Alejandro Abdelnur
Currently actions are defined and loaded from the oozie config files, this is
error prone for the following reasons:
* it requires adding the action class to a property list, a common mistake is
to replace instead add; thus disabling other actions.
* it requires adding a pairing XSD to another property list, same issues.
Instead we should use the JDK service load mechanism, this would add a plug an
play capability by just adding a JAR with the action classes defined in the
service file. Also, the actions should have a method that return the array of
supported schemas and register them.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira