|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.dstore.core.server.MinerLoader
MinerLoader is an implementation of ISchemaRegistry
used for
loading and initializing miners.
Field Summary | |
---|---|
static String |
Copyright
|
Constructor Summary | |
---|---|
MinerLoader(DataStore dataStore,
ArrayList loaders)
Constructor |
Method Summary | |
---|---|
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 |
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 |
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 |
Field Detail |
public static final String Copyright
Constructor Detail |
public MinerLoader(DataStore dataStore, ArrayList loaders)
dataStore
- the associated DataStoreloaders
- the list of ExternalLoader
s used be the miner loaderMethod 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
Exception
public void registerSchemaExtender(ISchemaExtender extender)
registerSchemaExtender
in interface ISchemaRegistry
extender
- the new schema extenderpublic void extendSchema(DataStore dataStore)
extendSchema
on each of the loaded miners
extendSchema
in interface ISchemaRegistry
dataStore
- the DataStore containing the base schema to extendpublic ExternalLoader getLoaderFor(String source)
ExternalLoader
for a particular
class.
getLoaderFor
in interface ISchemaRegistry
source
- 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 Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |