org.apache.directory.daemon
Class Bootstrapper

java.lang.Object
  extended byorg.apache.directory.daemon.Bootstrapper
Direct Known Subclasses:
JsvcBootstrapper, MainBootstrapper, ProcrunBootstrapper

public class Bootstrapper
extends java.lang.Object

The base bootstrapper extended by all frameworks and java applications.

Version:
$Rev: 434416 $
Author:
Apache Directory Project

Field Summary
static java.lang.String START_CLASS_PROP
           
static java.lang.String STOP_CLASS_PROP
           
 
Constructor Summary
Bootstrapper()
           
 
Method Summary
 void callDestroy()
           
 void callInit(java.lang.String[] args)
           
 void callStart()
           
 void callStop(java.lang.String[] args)
           
 void sendShutdownCommand()
           
 void setInstallationLayout(java.lang.String installationBase)
           
 void setParentLoader(java.lang.ClassLoader parentLoader)
           
static java.lang.String[] shift(java.lang.String[] args, int amount)
           
 void waitForShutdown()
          Wait until a proper shutdown command is received, then return.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

START_CLASS_PROP

public static final java.lang.String START_CLASS_PROP
See Also:
Constant Field Values

STOP_CLASS_PROP

public static final java.lang.String STOP_CLASS_PROP
See Also:
Constant Field Values
Constructor Detail

Bootstrapper

public Bootstrapper()
Method Detail

setInstallationLayout

public void setInstallationLayout(java.lang.String installationBase)

setParentLoader

public void setParentLoader(java.lang.ClassLoader parentLoader)

callInit

public void callInit(java.lang.String[] args)

callStart

public void callStart()

callStop

public void callStop(java.lang.String[] args)

callDestroy

public void callDestroy()

shift

public static java.lang.String[] shift(java.lang.String[] args,
                                       int amount)

sendShutdownCommand

public void sendShutdownCommand()
                         throws java.io.IOException
Throws:
java.io.IOException

waitForShutdown

public void waitForShutdown()
Wait until a proper shutdown command is received, then return.



Copyright © 2004-2007 null. All Rights Reserved.