|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--edu.iu.iv.core.IVC
A singleton central IVC system. This houses most of the registries, the GUI, and other important functions that will be used by new plugins, the GUI, and any other new classes added that need the data the IVC class provides.
| Method Summary | |
abstract void |
addAddModelListener(AddModelListener listener)
Adds an add model listener to the IVC. |
abstract void |
addModel(java.lang.Object model)
Adds a model to the system. |
abstract ConfigFile |
getConfigFile()
get the config file for the system. |
abstract java.io.File |
getErrorLogFile()
Gets the file object representing the current log file. |
abstract java.util.logging.Logger |
getErrorLogger()
Gets the logger associated with the IVC so that messages can be logged. |
static IVC |
getInstance()
Gets the singleton instance of the IVC system. |
abstract IVCLogManager |
getIVCLogManager()
|
abstract IVCUserInterface |
getIVCUserInterface()
Gets the IVC User Interface for the system. |
abstract PersistenceRegistry |
getPersistenceRegistry()
Gets the persistence registry. |
abstract java.io.File |
getPluginPath()
Gets the path to the plugin directory so plugins may access files in there if needed. |
abstract PluginRegistry |
getPluginRegistry()
Gets the plugin registry. |
abstract Scheduler |
getScheduler()
Gets the scheduler currently in use by the system. |
abstract void |
removeAddModelListener(AddModelListener listener)
Removes an add model listener from the list of those that will be notified when a model is added to the IVC. |
abstract void |
setConfigFile(ConfigFile configFile)
Set the associated config file for the IVC system. |
abstract void |
setErrorLogFile(java.io.File logFilePath,
boolean append)
Sets the path to the log file. |
abstract void |
setPluginPath(java.io.File path)
Sets the path to the plugin directory so that plugins may access files in the directory if they have some located there. |
abstract void |
setScheduler(Scheduler scheduler)
Sets the scheduler to be used by the system. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static IVC getInstance()
public abstract PluginRegistry getPluginRegistry()
public abstract PersistenceRegistry getPersistenceRegistry()
public abstract IVCUserInterface getIVCUserInterface()
public abstract void addModel(java.lang.Object model)
throws UnsupportedModelException
model - the model to add. This can be any object that is supported by the plugins.
UnsupportedModelException - if there is no plugin that can handle the model added, then an exception will be thrown.public abstract void addAddModelListener(AddModelListener listener)
listener - a listener for models being added to the system.public abstract void removeAddModelListener(AddModelListener listener)
listener - the listener to removepublic abstract Scheduler getScheduler()
public abstract void setScheduler(Scheduler scheduler)
scheduler - the scheduler to be used.public abstract void setPluginPath(java.io.File path)
path - the plugin directory.public abstract java.io.File getPluginPath()
public abstract void setConfigFile(ConfigFile configFile)
configFile - the config filepublic abstract ConfigFile getConfigFile()
public abstract java.util.logging.Logger getErrorLogger()
public abstract java.io.File getErrorLogFile()
public abstract void setErrorLogFile(java.io.File logFilePath,
boolean append)
throws java.io.IOException
logFilePath - The path to the log file.append - An optional flag that if true, makes the logger append
to the log file rather than over-write it.
java.io.IOException - If the logger could not be configured to
write to the specified log file.public abstract IVCLogManager getIVCLogManager()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||