|
[addExtension(context, extensionPointName, extensionClass, options)](/doc/en/lb4/apidocs.core.addextension.html)
|
Register an extension for the given extension point to the context
|
|
[asLifeCycleObserver(binding)](/doc/en/lb4/apidocs.core.aslifecycleobserver.html)
|
A `BindingTemplate` function to configure the binding as life cycle observer by tagging it with `CoreTags.LIFE_CYCLE_OBSERVER`.
|
|
[asService(serviceInterface)](/doc/en/lb4/apidocs.core.asservice.html)
|
Create a binding template for a service interface
|
|
[createServiceBinding(cls, options)](/doc/en/lb4/apidocs.core.createservicebinding.html)
|
Create a service binding from a class or provider
|
|
[extensionFilter(extensionPointNames)](/doc/en/lb4/apidocs.core.extensionfilter.html)
|
A factory function to create binding filter for extensions of a named extension point
|
|
[extensionFor(extensionPointNames)](/doc/en/lb4/apidocs.core.extensionfor.html)
|
A factory function to create binding template for extensions of the given extension point
|
|
[extensionPoint(name, specs)](/doc/en/lb4/apidocs.core.extensionpoint.html)
|
Decorate a class as a named extension point. If the decoration is not present, the name of the class will be used.
|
|
[extensions(extensionPointName, metadata)](/doc/en/lb4/apidocs.core.extensions.html)
|
Shortcut to inject extensions for the given extension point.
|
|
[filterByServiceInterface(serviceInterface)](/doc/en/lb4/apidocs.core.filterbyserviceinterface.html)
|
Create a binding filter by service class
|
|
[isLifeCycleObserver(obj)](/doc/en/lb4/apidocs.core.islifecycleobserver.html)
|
Test if an object implements LifeCycleObserver
|
|
[isLifeCycleObserverClass(ctor)](/doc/en/lb4/apidocs.core.islifecycleobserverclass.html)
|
Test if a class implements LifeCycleObserver
|
|
[lifeCycleObserver(group, specs)](/doc/en/lb4/apidocs.core.lifecycleobserver.html)
|
Sugar decorator to mark a class as life cycle observer
|
|
[mountComponent(app, component)](/doc/en/lb4/apidocs.core.mountcomponent.html)
|
Mount a component to an Application.
|
|
[service(serviceInterface, metadata)](/doc/en/lb4/apidocs.core.service.html)
|
`@service` injects a service instance that matches the class or interface.
|