类org.apache.catalina.startup.Bootstrap用于启动tomcat
源码中此类描述:
Boostrap loader for Catalina. This application constructs a class loader for use in loading the Catalina internal classes (by accumulating all of the JAR files found in the "server" directory under "catalina.home"), and starts the regular execution of the container. The purpose of this roundabout approach is to keep the Catalina internal classes (and any other classes they depend on, such as an XML parser) out of the system class path and therefore not visible to application level classes.
----------------------------------------------------------------------------------------------
Catalina类启动服务依次调用方法main()->process()->load()->start()->
load()方法用来Load using arguments.
函数先判断%CATALINA_HOME%\conf\server.xml(Pathname to the server configuration file)的存在性,加载该配置文件;
然后,通过Service实现类(org.apache.catalina.startup.StandardService)对象实例getServer()返回一个Server实现类(org.apache.catalina.core.StandardServer)对象实例.
最后,Invoke a pre-startup initialization. This is used to allow connectors to bind to restricted ports under Unix operating environments.