com.sdm.quasar.client.core.data.plugin
Interface DataManagerSetup

All Known Implementing Classes:
DefaultDataManagerSetupAdapter

public interface DataManagerSetup

Allows the setup of the DataManager.

Please note that plug ins may only be registered at the beginning of the life cycle of a DataManager. Once the first node has been defined it is not possible to add further plug ins.

Version:
1.0
Author:
Thomas Wolf, Bernd Olleck, sd&m AG

Method Summary
 void registerPlugIn(java.lang.Class plugInInterface, DataManagerPlugIn plugIn)
          Registers a plug in with the DataManager.
 

Method Detail

registerPlugIn

public void registerPlugIn(java.lang.Class plugInInterface,
                           DataManagerPlugIn plugIn)
Registers a plug in with the DataManager. Plug ins are notified about changes in the data structure in the order they are registered here.

Important: plug ins are tied closely to the implementation of the data manager. The implementation of DataManagerSetup may have additional requirements that a DataManagerPlugIn implementation must fulfill, e.g. a different base class.

Parameters:
plugInInterface - the interface defining the features of the plug in, must extend DataManagerPlugIn.
plugIn - the implementation of the plug in, must implement the given interface