org.apache.avalon.phoenix.launcher
Class DaemonLauncher

java.lang.Object
  |
  +--org.apache.avalon.phoenix.launcher.DaemonLauncher
All Implemented Interfaces:
Observer

public class DaemonLauncher
extends Object
implements Observer

A frontend for Phoenix that starts it as a native service using the Java Service Wrapper at http://wrapper.sourceforge.net

Author:
Peter Donald, Leif Mortenson

Constructor Summary
DaemonLauncher()
           
 
Method Summary
 void controlEvent(int event)
           
static void main(String[] args)
           
 Integer start(String[] args)
           
 int stop(int exitCode)
           
 void update(Observable observable, Object arg)
          We use an Observer rather than operating on some more meaningful event system as Observer and friends can be loaded from system ClassLoader and thus the Embeddor does not have to share a common classloader ancestor with invoker
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DaemonLauncher

public DaemonLauncher()
Method Detail

start

public Integer start(String[] args)

stop

public int stop(int exitCode)

controlEvent

public void controlEvent(int event)

update

public void update(Observable observable,
                   Object arg)
We use an Observer rather than operating on some more meaningful event system as Observer and friends can be loaded from system ClassLoader and thus the Embeddor does not have to share a common classloader ancestor with invoker

Specified by:
update in interface Observer

main

public static void main(String[] args)


Copyright © 2001 Apache Jakarta Project. All Rights Reserved.