org.sca4j.host.runtime
Interface Bootstrapper


public interface Bootstrapper

Implementations bootstrap a runtime in two phases. The first phase initializes the runtime domain. The second phase initializes the core runtime services.

Version:
$Rev: 5263 $ $Date: 2008-08-25 07:50:32 +0100 (Mon, 25 Aug 2008) $

Method Summary
 void bootRuntimeDomain(SCA4JRuntime<?> runtime, java.lang.ClassLoader bootClassLoader, java.lang.ClassLoader appClassLoader)
          Initializes the domain for the given runtime.
 void bootSystem()
          Initialize the core system components for the supplied runtime.
 

Method Detail

bootRuntimeDomain

void bootRuntimeDomain(SCA4JRuntime<?> runtime,
                       java.lang.ClassLoader bootClassLoader,
                       java.lang.ClassLoader appClassLoader)
                       throws InitializationException
Initializes the domain for the given runtime.

Parameters:
runtime - the runtime to initialize the domain for
bootClassLoader - the bootstrap classloader
appClassLoader - the top-level application classloader
Throws:
InitializationException - if there was a problem bootstrapping the runtime

bootSystem

void bootSystem()
                throws InitializationException
Initialize the core system components for the supplied runtime.

Throws:
InitializationException - if there was a problem bootstrapping the runtime


Copyright © 2008-2010 Service Symphony. All Rights Reserved.