ozone API

org.ozoneDB
Class AbstractFactory

java.lang.Object
  extended byorg.ozoneDB.AbstractFactory
Direct Known Subclasses:
OzoneObjectFactory

public abstract class AbstractFactory
extends java.lang.Object

Abstract base class for all ozone-compatible factories. Normally such factories are generated by OPP and you need not bother with them. A factory has a bit of a schizophrenic nature: on the client-side it 'links' to an ExternalDatabase, while on the server-side it does so to the Database that holds the instances that the factory creates. Note however that a factory running inside an Ozone server can also be linked to an External database outside that server (userclient -> server A -> server B). In that case such a factory would be 'linked' an ExternalDatabase.

The idea behind factories is fourfold:

The differences in client side and server side operation are: