public class ReflectionServiceResolver extends Object implements ServiceResolver
Service instances given a set of ServiceProvider instances.
Resolution process consist if find, for each service provider, all the service dependencies it has. Then, service providers
will be instantiated when the required set of dependencies is available.
Resolution of services providers must be done always in the same order for the same set of providers to ensure a consistent
startup of the container.
In case of a missing dependency, the resolution will fail and the container should not start.| Constructor and Description |
|---|
ReflectionServiceResolver(ServiceRegistry serviceRegistry) |
| Modifier and Type | Method and Description |
|---|---|
List<org.mule.runtime.api.service.Service> |
resolveServices(List<ServiceAssembly> assemblies)
Resolves the services instances provided by the given assemblies.
|
public ReflectionServiceResolver(ServiceRegistry serviceRegistry)
public List<org.mule.runtime.api.service.Service> resolveServices(List<ServiceAssembly> assemblies)
ServiceResolverresolveServices in interface ServiceResolverassemblies - service assemblies to be resolved. Non null.servicesCopyright © 2003–2021 MuleSoft, Inc.. All rights reserved.