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: 921363 $
Author:
Apache Directory Project

Constructor Summary
Service()
           
 
Method Summary
 void destroy()
           
 org.apache.directory.server.core.DirectoryService getDirectoryService()
           
 void init(org.apache.directory.daemon.InstallationLayout layout, java.lang.String[] args)
           
static void printBanner(java.lang.String bannerConstant)
          Print the banner for a server
 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
 

Constructor Detail

Service

public Service()
Method Detail

init

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

getDirectoryService

public org.apache.directory.server.core.DirectoryService getDirectoryService()

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(java.lang.String bannerConstant)
Print the banner for a server



Copyright © 2003-2010 The Apache Software Foundation. All Rights Reserved.