ProAct.Registry.ProObjectProvider Class
Constructs a ProAct.Registry.ProObjectProvider
.
The ProAct.Registry uses registered function providers as storage for objects with reactive ProAct.Property instances.
Constructor
ProAct.Registry.ProObjectProvider
()
static
Methods
delete
-
key
Deletes a stored instance.
Parameters:
-
key
StringThe key to delete.
Returns:
The stored object corresponding to the passed key or undefined if there is no such object.
get
-
key
Reads a stored instance.
Parameters:
-
key
StringThe key to read.
Returns:
The stored object corresponding to the passed key or undefined if there is no such object.
make
-
key
-
options
-
[...]
Creates and stores an instance of the object this ProAct.Registry.Provider
manages.
For the creation is used the provide method.
Parameters:
Returns:
The newly created and stored object.
provide
-
options
-
[...]
Provides a new instance of the managed by this ProAct.Registry.Provider
object.
Parameters:
Returns:
An isntance of the managed class of objects.
registered
-
registery
A callback called by the ProAct.Registry when this ProAct.Registry.Provider
is registered.
Parameters:
-
registery
ProAct.RegistryThe registry in which this is being registered.