/** * Bootstraps a Limbus System engine that utilizes {@link LimbusSystem} to create a * runtime environment of components. * * @param system * The uninitialized configured {@link LimbusSystem} * @throws Exception * Thrown on any error while bootstrapping. */ public static void bootstrapLimbusSystem(LimbusSystem system) throws Exception { SystemEngine engine = new SystemEngine(system); bootstrap(engine); }
/** * Bootstraps a Limbus System engine that utilizes {@link LimbusSystem} and a valid system description to create a * runtime environment of components. The system descriptor is specified via {@link InputStream}. * * @param systemDescriptor * The input stream representing the XML system descriptor. * * @throws SerializeException * Thrown if the {@link LimbusSystem} cannot be created from the specified system descriptor. * @throws Exception * Thrown on any error while bootstrapping. */ public static void bootstrapLimbusSystem(InputStream systemDescriptor) throws SerializeException, Exception { SystemEngine engine = new SystemEngine(systemDescriptor); bootstrap(engine); }