Remote System Explorer DataStore
Release 1.0

org.eclipse.dstore.core.model
Class SchemaRegistry

java.lang.Object
  extended byorg.eclipse.dstore.core.model.SchemaRegistry
All Implemented Interfaces:
ISchemaRegistry

public class SchemaRegistry
extends Object
implements ISchemaRegistry

SchemaRegistry implements the interface for external tools to contribute their schemas to the DataStore.


Constructor Summary
SchemaRegistry()
           
 
Method Summary
 void extendSchema(DataStore dataStore)
          Calls extendSchema() on each of the registered schema extenders to extend the schema of the specified DataStore
 ExternalLoader getLoaderFor(String source)
          Gets the ExternalLoader for the specified qualified classname
 void registerSchemaExtender(ISchemaExtender extender)
          Registers a schema extender with the associated DataStores
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaRegistry

public SchemaRegistry()
Method Detail

registerSchemaExtender

public void registerSchemaExtender(ISchemaExtender extender)
Registers a schema extender with the associated DataStores

Specified by:
registerSchemaExtender in interface ISchemaRegistry
Parameters:
extender - the schema extender to register

extendSchema

public void extendSchema(DataStore dataStore)
Calls extendSchema() on each of the registered schema extenders to extend the schema of the specified DataStore

Specified by:
extendSchema in interface ISchemaRegistry
Parameters:
dataStore - the DataStore whos schema will be updated

getLoaderFor

public ExternalLoader getLoaderFor(String source)
Gets the ExternalLoader for the specified qualified classname

Specified by:
getLoaderFor in interface ISchemaRegistry
Parameters:
source - the qualified classname
Returns:
the external loader for the specified classname

Remote System Explorer DataStore
Release 1.0

Guidelines for using DataStore APIs.