| java.lang.Object com.sun.jbi.framework.ComponentStartup
ComponentStartup | public class ComponentStartup implements Runnable(Code) | | This class is used to run a thread that performs component-related tasks
at the beginning and end of JBI framework startup. At the beginning of the
startup, a thread is created to run this class with a PREPARE command, which
causes all shared libraries and components to be initialized. At the end of
the startup, a thread is created to run this class with a START command,
which causes all components to be brought to their desired states.
The reason for operating this way is to prevent the initialization and
startup of shared libraries and components from slowing down the startup of
the appserver itself. This is especially important because the startup time
for components is completely out of the control of JBI other than the timeout
used to prevent a runaway component.
author: Sun Microsystems, Inc. |
Method Summary | |
public void | run() The run method yields control to allow the appserver thread to run;
when this thread regains control it will call the Component Framework
to do shared library/component initialization and startup processing. |
ComponentStartup | public ComponentStartup(ComponentFramework compFW, int command)(Code) | | Creates a new instance of ComponentStartup.
Parameters: compFW - is the ComponentFramework instance. Parameters: command - is either ComponentFramework.PREPARE orComponentFramework.STARTUP . |
run | public void run()(Code) | | The run method yields control to allow the appserver thread to run;
when this thread regains control it will call the Component Framework
to do shared library/component initialization and startup processing.
|
|
|