org.neo4j.kernel.lifecycle
Interface Lifecycle

All Known Implementing Classes:
AbstractGraphDatabase.DefaultKernelData, ClassicLoggingService, DevNullLoggingService, DiagnosticsManager, KernelEventHandlers, LifecycleAdapter, LifeSupport, LogbackService, TransactionEventHandlers

public interface Lifecycle

Lifecycle interface for kernel components. Init is called first, followed by start, and then any number of stop-start sequences, and finally stop and shutdown. As a stop-start cycle could be due to change of configuration, please perform anything that depends on config in start(). Implementations can throw any exception. Caller must handle this properly.


Method Summary
 void init()
           
 void shutdown()
           
 void start()
           
 void stop()
           
 

Method Detail

init

void init()
          throws Throwable
Throws:
Throwable

start

void start()
           throws Throwable
Throws:
Throwable

stop

void stop()
          throws Throwable
Throws:
Throwable

shutdown

void shutdown()
              throws Throwable
Throws:
Throwable


Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.