public class DefaultBootstrap extends Object implements Delegate
Constructors Constructor Description
public long version()
public void main(List<String> args) throws ThrowableDescription copied from interface:
DelegateThe bootstrap's main method, if you start it via the
Bootstrapclass or run update4j as a jar file.
This method is called after dependency injection was performed using any overload of
Bootstrap.start()that takes an
To do any initialization before injection, do it in the constructor, but be aware that unless you specify the delegate with the
--delegateflag, the constructor might be called even if this provider will not be used in the end. This happens as the service loading mechanism first loads all providers and then compares versions to use the one with the highest version.
protected Reader openConnection(URL url) throws IOException