|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
org.ow2.petals.container.thread.AbstractThread
org.ow2.petals.container.thread.BootstrapThread
public class BootstrapThread
The installer thread. This thread is used by the Installer component to have each component in a separate bootstrap environment.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
static java.lang.String |
CLEANUP
|
static java.lang.String |
EXTMBEAN
|
static java.lang.String |
INIT
|
static java.lang.String |
INSTALL
|
static java.lang.String |
UNINSTALL
|
| Fields inherited from class org.ow2.petals.container.thread.AbstractThread |
|---|
jbiException, logger, requestQueue, responseQueue, SHUTDOWNTHREAD, timeout |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
BootstrapThread(java.lang.String installerName,
javax.jbi.component.Bootstrap jbiBootstrap,
long taskTimeout,
org.ow2.petals.util.LoggingUtil logger)
Creates a new instance of BootstrapThread |
|
| Method Summary | |
|---|---|
void |
cleanUp()
|
protected boolean |
doTask(java.lang.String action)
Process the requested task in the dedicated thread. |
javax.management.ObjectName |
getExtensionMBeanName()
|
void |
init(javax.jbi.component.InstallationContext installContext)
|
void |
onInstall()
|
void |
onUninstall()
|
| Methods inherited from class org.ow2.petals.container.thread.AbstractThread |
|---|
execute, run, shutdownThread |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String INSTALL
public static final java.lang.String UNINSTALL
public static final java.lang.String INIT
public static final java.lang.String CLEANUP
public static final java.lang.String EXTMBEAN
| Constructor Detail |
|---|
public BootstrapThread(java.lang.String installerName,
javax.jbi.component.Bootstrap jbiBootstrap,
long taskTimeout,
org.ow2.petals.util.LoggingUtil logger)
installer - jbiBootstrap - | Method Detail |
|---|
protected boolean doTask(java.lang.String action)
doTask in class AbstractThreadaction - the task to execute
public void cleanUp()
throws javax.jbi.JBIException
cleanUp in interface javax.jbi.component.Bootstrapjavax.jbi.JBIExceptionpublic javax.management.ObjectName getExtensionMBeanName()
getExtensionMBeanName in interface javax.jbi.component.Bootstrap
public void init(javax.jbi.component.InstallationContext installContext)
throws javax.jbi.JBIException
init in interface javax.jbi.component.Bootstrapjavax.jbi.JBIException
public void onInstall()
throws javax.jbi.JBIException
onInstall in interface javax.jbi.component.Bootstrapjavax.jbi.JBIException
public void onUninstall()
throws javax.jbi.JBIException
onUninstall in interface javax.jbi.component.Bootstrapjavax.jbi.JBIException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||