register

Register an object into a storage by storageId located in storageLocator with id being FQN of an Interface that object implements.

Parameters

Interface

interface that object implements

Type

the type of object registered in storage

locator R

locator used to fetch dependencies for registered object

storageId string

the id of storage where object is stored.

Return Value

Type: auto

storageLocator for further configuration

Throws

NotFoundException when storage with storageId is not found.

Meta