org.ow2.petals.registry.api.lifecycle
Interface LifeCycle

All Known Subinterfaces:
CoreRepository, IncomingManager, IOManager, LocalRegistry, OutgoingManager, Registry, RemoteClientManager, RemoteRegistry, Repository
All Known Implementing Classes:
AbstractLifeCycle

public interface LifeCycle

The lifecycle interface

Author:
Christophe HAMERLING - eBM WebSourcing

Nested Class Summary
static class LifeCycle.STATE
           
 
Method Summary
 LifeCycle.STATE getState()
           
 void init(Context context)
           
 boolean isInitialized()
           
 boolean isNotInitialized()
           
 boolean isRunning()
           
 boolean isStarted()
           
 boolean isStopped()
           
 void start()
           
 void stop()
           
 

Method Detail

init

void init(Context context)
          throws LifeCycleException
Parameters:
the - context
Throws:
LifeCycleException

start

void start()
           throws LifeCycleException
Throws:
LifeCycleException

stop

void stop()
          throws LifeCycleException
Throws:
LifeCycleException

isRunning

boolean isRunning()
Returns:

isStarted

boolean isStarted()
Returns:

isStopped

boolean isStopped()
Returns:

isInitialized

boolean isInitialized()
Returns:

isNotInitialized

boolean isNotInitialized()
Returns:

getState

LifeCycle.STATE getState()
Returns:


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.