Page Contents
Home > @loopback/service-proxy > ServiceMixinDoc
ServiceMixinDoc class
A dummy class created to generate the tsdoc for the members in service mixin. Please don’t use it.
The members are implemented in function ServiceMixin
Signature:
export declare class ServiceMixinDoc
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(args) | Constructs a new instance of the ServiceMixinDoc class |
Methods
| Method | Modifiers | Description |
|---|---|---|
| component(component) | Add a component to this application. Also mounts all the components services. | |
| mountComponentServices(component) | Get an instance of a component and mount all it’s services. This function is intended to be used internally by component() | |
| serviceProvider(provider) | Add a service to this application. |