org.apache.directory.server
Class Service

java.lang.Object
  extended by org.apache.directory.server.Service
All Implemented Interfaces:
org.apache.directory.daemon.DaemonApplication

public class Service
extends java.lang.Object
implements org.apache.directory.daemon.DaemonApplication

DirectoryServer bean used by both the daemon code and by the ServerMain here.

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

Field Summary
static java.lang.String BANNER
           
 
Constructor Summary
Service()
           
 
Method Summary
 void destroy()
           
 void init(org.apache.directory.daemon.InstallationLayout install, java.lang.String[] args)
           
static void printBanner()
           
 void start()
           
 void stop(java.lang.String[] args)
           
 void synch()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BANNER

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

Service

public Service()
Method Detail

init

public void init(org.apache.directory.daemon.InstallationLayout install,
                 java.lang.String[] args)
          throws java.lang.Exception
Specified by:
init in interface org.apache.directory.daemon.DaemonApplication
Throws:
java.lang.Exception

synch

public void synch()
           throws java.lang.Exception
Throws:
java.lang.Exception

start

public void start()
Specified by:
start in interface org.apache.directory.daemon.DaemonApplication

stop

public void stop(java.lang.String[] args)
          throws java.lang.Exception
Specified by:
stop in interface org.apache.directory.daemon.DaemonApplication
Throws:
java.lang.Exception

destroy

public void destroy()
Specified by:
destroy in interface org.apache.directory.daemon.DaemonApplication

printBanner

public static void printBanner()


Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.