|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.core.data.plugin.AbstractDataManagerPlugIn
| Constructor Summary | |
AbstractDataManagerPlugIn()
Creates a new AbstractDataManagerPlugIn. |
|
| Method Summary | |
void |
dispose()
Disposes the component. |
protected DataCore |
getDataCore()
Returns the DataCore installed to. |
void |
install(DataCore dataCore)
Called by the data core when the plug in is installed in the data core |
protected abstract void |
notifyNodeAdded(NodeController node)
Called by the DataCore when a node has been added.
|
protected abstract void |
notifyNodeWillBeRemoved(NodeController node)
Called by the DataCore before a node will be removed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractDataManagerPlugIn()
AbstractDataManagerPlugIn.
| Method Detail |
public void install(DataCore dataCore)
DataManagerPlugIn
install in interface DataManagerPlugIndataCore - the DataCore this plugin interacts with.DataManagerPlugIn.install(com.sdm.quasar.client.core.data.plugin.DataCore)
public void dispose()
throws DisposeException
Disposable
Important:
This method is called by an administrating component
and must never be called directly.
The implementation should release any resources or objects allocated and
any services registered. Furthermore, this method should be developed
carefully to free a maximum of resources even when the system may
have become unstable. In case of one or multiple errors, you should collect
them in a DisposeException, continue with the execution,
and throw it at the end of the method.
Note: The implementation must not return before the component is disposed. Any threads or asynchronous calls started must be completed before this method returns.
dispose in interface DisposableDisposeException - if there was one or more errors while
disposing the component.Disposable.dispose()protected DataCore getDataCore()
DataCore installed to.
java.lang.IllegalStateException - if called before install(DataCore) was
called or after dispose.protected abstract void notifyNodeAdded(NodeController node)
DataCore when a node has been added.
The implementation may register value handlers for the new node.
node - the node that has been addedprotected abstract void notifyNodeWillBeRemoved(NodeController node)
DataCore before a node will be removed.
node - the key of the node that will be removed.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||