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 Injector
object
- the object on which dependencies are to be injected onMuleException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.