|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dbxml.util.SimpleConfigurable
com.dbxml.db.core.extension.ExtensionManager
ExtensionManager manages Extension instances.
Constructor Summary | |
ExtensionManager(Collection collection)
|
Method Summary | |
Extension |
create(Configuration cfg)
create creates a new Extension object and any associated system resources that the Extension will need. |
boolean |
drop(java.lang.String name)
drop physically removes the specified Extension and any associated system resources that the Extension uses. |
Extension |
get(java.lang.String name)
get retrieves an Extension by name, and will also do the work of instantiation and pool-retrieval. |
java.lang.String |
getCanonicalName(java.lang.String name)
|
java.lang.String[] |
list()
list returns a list of the Extensions that this ExtensionManager has registered. |
void |
setConfig(Configuration config)
setConfig sets the configuration information for the Configurable object instance. |
Methods inherited from class com.dbxml.util.SimpleConfigurable |
getConfig |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ExtensionManager(Collection collection)
Method Detail |
public void setConfig(Configuration config) throws dbXMLException
Configurable
setConfig
in interface Configurable
setConfig
in class SimpleConfigurable
dbXMLException
public java.lang.String[] list()
public boolean drop(java.lang.String name) throws DBException
name
- The Extension to drop
DBException
public Extension create(Configuration cfg) throws DBException
cfg
- The Extension's configuration
DBException
public Extension get(java.lang.String name) throws DBException
name
- The Extension name
DBException
public java.lang.String getCanonicalName(java.lang.String name)
|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |