An interface to define a central storage controller acting as a
Stroage Factory. The StroageController manages the
storage logic. Subclasses of {@link StorageController} can be registered as
{@link org.apache.lucene.gdata.server.registry.Component} in the
{@link org.apache.lucene.gdata.server.registry.GDataServerRegistry}. A
single instance of the contorller will be loaded and passed to clients via
the lookup service.
This instances, registered in the registry must be thread save as they are
shared between several clients
Each StroageController implementation must provide a super user
{@link org.apache.lucene.gdata.data.GDataAccount} with all
{@link org.apache.lucene.gdata.data.GDataAccount.AccountRole} set. This
account must have the defined name administrator and a default
password password. The password has to be updated by the server
administrator before production use.
To get the predefinded GDataAccount use {@link org.apache.lucene.gdata.data.GDataAccount#createAdminAccount()}
|