run
public static int run(String[] args,
ClassLoader classLoader)
throws ClassNotFoundException,
NoSuchMethodException,
IllegalAccessException,
InvocationTargetException
Runs the schema generator.
- Parameters:
classLoader - the schema generator will run in this classLoader.
It needs to be able to load annotation processing and JAXB RI classes. Note that
JAXB RI classes refer to annotation processing classes. Must not be null.
- Returns:
- exit code. 0 if success.
- Throws:
ClassNotFoundException
NoSuchMethodException
IllegalAccessException
InvocationTargetException