org.elasticsearch.common.inject.spi
Interface HasDependencies
- All Known Subinterfaces:
- ConstructorBinding<T>, ConvertedConstantBinding<T>, ExposedBinding<T>, InstanceBinding<T>, ProviderInstanceBinding<T>, ProviderWithDependencies<T>
- All Known Implementing Classes:
- ExposedBindingImpl, FactoryProvider, InstanceBindingImpl, ProviderInstanceBindingImpl, ProviderMethod
public interface HasDependencies
Implemented by bindings
, providers
and instances that expose their dependencies explicitly.
- Since:
- 2.0
- Author:
- jessewilson@google.com (Jesse Wilson)
getDependencies
Set<Dependency<?>> getDependencies()
- Returns the known dependencies for this type. If this has dependencies whose values are not
known statically, a dependency for the
Injector
will be
included in the returned set.
- Returns:
- a possibly empty set
Copyright © 2009-2012. All Rights Reserved.