|
Remote System Explorer DataStore Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.dstore.core.server.MinerLoader
MinerLoader is an implementation of ISchemaRegistry used for
loading and initializing miners.
| Constructor Summary | |
|---|---|
MinerLoader(DataStore dataStore,
ArrayList loaders)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
connectMiner(Miner miner)
|
void |
extendSchema(DataStore dataStore)
Calls extendSchema on each of the loaded miners |
void |
finishMiner(String name)
Terminates the specified miner |
void |
finishMiners()
Terminate all the miners |
ExternalLoader |
getExternalRemoteLoader()
|
ExternalLoader |
getLoaderFor(String source)
Returns the ExternalLoader for a particular
class. |
Miner |
getMiner(String name)
Returns the miner indicated with the specified name |
ArrayList |
getMiners()
Returns the loaded miners |
RemoteClassLoader |
getRemoteLoader()
|
Miner |
loadMiner(String name)
|
void |
loadMiners()
Loads all miners that are specified in the default minerFile.dat as well as any others indicated by DataStore.getMinersLocation that
have not yet been loaded. |
ArrayList |
loadMiners(String minerFile,
String encoding)
Loads that miners specified in a particular miner configuration file (i.e. |
void |
registerSchemaExtender(ISchemaExtender extender)
Currently not used for the miner loader |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MinerLoader(DataStore dataStore,
ArrayList loaders)
dataStore - the associated DataStoreloaders - the list of ExternalLoaders used be the miner loader| Method Detail |
public void loadMiners()
DataStore.getMinersLocation that
have not yet been loaded.
public ArrayList loadMiners(String minerFile,
String encoding)
throws Exception
minerFile - a file specifying a list of miners
Exceptionpublic Miner loadMiner(String name)
public boolean connectMiner(Miner miner)
public void registerSchemaExtender(ISchemaExtender extender)
registerSchemaExtender in interface ISchemaRegistryextender - the new schema extenderpublic void extendSchema(DataStore dataStore)
extendSchema on each of the loaded miners
extendSchema in interface ISchemaRegistrydataStore - the DataStore containing the base schema to extendpublic ExternalLoader getExternalRemoteLoader()
public RemoteClassLoader getRemoteLoader()
public ExternalLoader getLoaderFor(String source)
ExternalLoader for a particular
class.
getLoaderFor in interface ISchemaRegistrysource - a qualified classname
public ArrayList getMiners()
public Miner getMiner(String name)
name - the qualified classname of the miner
public void finishMiner(String name)
name - the qualified classname of the miner to terminatepublic void finishMiners()
|
Remote System Explorer DataStore Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||