/** * Bootstrap GlassFish runtime based on runtime configuration passed in the bootstrapProperties object. * Calling this method twice will throw a GlassFishException * * @param bootstrapProperties BootstrapProperties used to setup the runtime * @param cl ClassLoader used as parent loader by GlassFish modules. If null is passed, the class loader * of this class is used. * @return a bootstrapped runtime that can now be used to create new GlassFish instances * @throws GlassFishException */ public static GlassFishRuntime bootstrap(BootstrapProperties bootstrapProperties, ClassLoader cl) throws GlassFishException { return _bootstrap(bootstrapProperties, cl); }
/** * Bootstrap GlassFish runtime based on runtime configuration passed in the bootstrapProperties object. * Calling this method twice will throw a GlassFishException * * @param bootstrapProperties BootstrapProperties used to setup the runtime * @param cl ClassLoader used as parent loader by GlassFish modules. If null is passed, the class loader * of this class is used. * @return a bootstrapped runtime that can now be used to create new GlassFish instances * @throws GlassFishException */ public static GlassFishRuntime bootstrap(BootstrapProperties bootstrapProperties, ClassLoader cl) throws GlassFishException { return _bootstrap(bootstrapProperties, cl); }