DefaultRpcFactory class
Creates RPC components by their descriptors.
See [HttpEndpoint] See [HeartbeatRestService] See [StatusRestService]
Constructors
- DefaultRpcFactory()
- Create a new instance of the factory.
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
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 non-existent 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 -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other ) → bool -
The equality operator. [...]
inherited
Static Properties
- descriptor → Descriptor
-
final
- HeartbeatServiceDescriptor → Descriptor
-
final
- HttpEndpointDescriptor → Descriptor
-
final
- StatusServiceDescriptor → Descriptor
-
final