|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectscone.util.PluginRepository
public class PluginRepository
a repository of Scone plugins. The plugins' states (enabled/disabled) are mirrored in a configuration file to make them persistent.
| Constructor Summary | |
|---|---|
PluginRepository()
creates a new repository. |
|
| Method Summary | |
|---|---|
java.util.Enumeration |
getEntries()
returns an enumeration of the entries. |
PluginRepositoryEntry |
getEntryByName(java.lang.String name)
returns the entry for the named plugin. |
PluginRepositoryEntry |
getEntryByNumber(int pos)
returns the entry at the given position |
int |
getRequirements()
returns the requirements of the enabled registered plugins. |
PluginRepositoryEntry |
register(java.lang.String name)
registers a new plugin. |
void |
store()
stores the XML definition of the repository to the file. |
void |
terminate()
terminates the plugins does not disable them |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PluginRepository()
| Method Detail |
|---|
public void terminate()
public PluginRepositoryEntry getEntryByName(java.lang.String name)
name - the full classname of the plugin
public PluginRepositoryEntry getEntryByNumber(int pos)
pos - the position of the entry
public PluginRepositoryEntry register(java.lang.String name)
name - the full classname of the plugin
public void store()
public java.util.Enumeration getEntries()
public int getRequirements()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||