
Factory method for instantiating EAs via API in a more
developer friendly way.
Returns:
Configured EA
Parameters:
-
clazz - Class, extending EA, which to instantiate
-
value - The value to set on that EA
Throws:
-
BuildException - If the class could not be found or the value
is not valid for the given EA-class.
See Also:
http://issues.apache.org/bugzilla/show_bug.cgi?id=14831,