DefaultStateStoreFactory class

Creates IStateStore components by their descriptors.

See: Factory, IStateStore, MemoryStateStore, NullStateStore

Inheritance

Constructors

DefaultStateStoreFactory()
Create a new instance of the 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

canCreate(dynamic locator) → dynamic
Checks if this factory is able to create component by given locator.
inherited
create(dynamic locator) → dynamic
Creates a component identified by given locator.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register(dynamic locator, dynamic factory(dynamic locator)) → void
Registers a component using a factory method.
inherited
registerAsType(dynamic locator, dynamic type) → void
Registers a component using its type (a constructor function).
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

Desriptor ↔ Descriptor
getter/setter pair
MemoryStateStoreDescriptor ↔ Descriptor
getter/setter pair
NullStateStoreDescriptor ↔ Descriptor
getter/setter pair