DataManagerRegistry class
The registry of DataManagerFactorys, used to create a DataManager for a DataEndPoint.
A singleton. The client manager registers the factories for the built-in data managers on configuration. To use your own data manager, register its factory before the study is deployed.
Constructors
- DataManagerRegistry()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
create(
String type) → DataManager? -
Creates a new data manager for the data endpoint
type, ornullif no factory is registered for it. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register(
DataManagerFactory factory) → void -
Registers a
factoryfor its DataManagerFactory.type, replacing any existing one. -
registerAll(
List< DataManagerFactory> factories) → void -
Registers all
factories, see register. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited