org.ozoneDB.core
Class ServerComponent
java.lang.Object
org.ozoneDB.core.ServerComponent
- Direct Known Subclasses:
- AdminManager, ClassicStore, ClassManager, GammaStore, GarbageCollector, KeyGenerator, MagicStore, TransactionManager, UserManager, WizardStore
- public abstract class ServerComponent
- extends java.lang.Object
Base class for all componente of the ozone core.
ServerComponent basically provides method to start/stop the component and to
check the internal state of the component. Each component has to properly
call the setChanged()
method in this regard.
- Version:
- $Revision: 1.3 $Date: 2002/09/18 06:54:15 $
- Author:
- SMB
Method Summary |
void |
clearChanged()
|
boolean |
hasChanged()
|
abstract void |
save()
Save the internal state in the state to the server state properties. |
void |
setChanged()
|
abstract void |
shutdown()
|
abstract void |
startup()
Start up and load the internal state from the server state properties. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
env
protected transient Env env
hasChanged
private boolean hasChanged
ServerComponent
public ServerComponent(Env env)
setChanged
public void setChanged()
hasChanged
public boolean hasChanged()
clearChanged
public void clearChanged()
startup
public abstract void startup()
throws java.lang.Exception
- Start up and load the internal state from the server state properties.
- Throws:
java.lang.Exception
shutdown
public abstract void shutdown()
throws java.lang.Exception
- Throws:
java.lang.Exception
save
public abstract void save()
throws java.lang.Exception
- Save the internal state in the state to the server state properties.
- Throws:
java.lang.Exception
Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.