Starts container. It discovers all beans in the deployment archive.
For Java EE artifact deployment, it scans all classes and libraries in the deployment archive. There are several types of deployment arhives;
- EAR archive
- EJB archive
- WAR archive
- RAR archive
- Application client archive. OPTIONAL
Container uses metadata discovery SPI for scanning archives and act accordingly. If there is an exception while starting, it must abort the deployment and provides information to the developer.
@param startupObject any startup object.
@throws Exception exception thrown by startup