Framework Professional Edition Package


com.prosyst.mbs.framework.boot
Interface Boot


public interface Boot

This interface is used for initial boot of the framework. Custom implementations may add client specific logic to the framework boot behavior.

Author:
Stoyan Boshev

Method Summary
 java.io.InputStream getBootINI()
          Returns an input stream to the boot ini file.
 int performInstall(BundleContext bc)
          Incorporates the bundles' install logic.
 

Method Detail

performInstall

int performInstall(BundleContext bc)
Incorporates the bundles' install logic. This method may do nothing if there isn't any special logic during bundle install time. If this method has empty implementation then at least the getBootINI method should return an input stream to the boot ini file.

Parameters:
bc - the BundleContext, which has to be used to perform the bundles' install operations
Returns:
the max start level of the installed bundles, or -1 if no bundles were installed

getBootINI

java.io.InputStream getBootINI()
Returns an input stream to the boot ini file. If this method returns an input stream to the boot ini file, then this boot data will be used for bundles installation

Returns:
an input stream to the boot ini file or null if the bundle install logic is a fully custom implementation, which is handled in the performInstall method.

Framework Professional Edition Package


Copyright © 1999-2007 ProSyst Software GmbH. All Rights Reserved