public class RegistryDelegatingInjector extends Object implements Injector
Injector which uses a
RegistryProvider to look for Registry
instances which also implement Injector.
The injection operation is then delegated into the
first matching registry.
If no appropriate registry is found, then the injection operation
does not take place.| Constructor and Description |
|---|
RegistryDelegatingInjector(RegistryProvider registryProvider) |
public RegistryDelegatingInjector(RegistryProvider registryProvider)
public <T> T inject(T object)
throws MuleException
inject in interface Injectorobject - the object on which dependencies are to be injected onMuleExceptionCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.