Package jenkins
Class ProxyInjector
java.lang.Object
jenkins.ProxyInjector
- All Implemented Interfaces:
com.google.inject.Injector
Injector
that delegates to another one.- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.inject.Injector
createChildInjector
(com.google.inject.Module... modules) com.google.inject.Injector
createChildInjector
(Iterable<? extends com.google.inject.Module> modules) <T> List<com.google.inject.Binding<T>>
findBindingsByType
(com.google.inject.TypeLiteral<T> type) Map<com.google.inject.Key<?>,
com.google.inject.Binding<?>> <T> com.google.inject.Binding<T>
getBinding
(com.google.inject.Key<T> key) <T> com.google.inject.Binding<T>
getBinding
(Class<T> type) Map<com.google.inject.Key<?>,
com.google.inject.Binding<?>> List<com.google.inject.spi.Element>
<T> com.google.inject.Binding<T>
getExistingBinding
(com.google.inject.Key<T> key) <T> T
getInstance
(com.google.inject.Key<T> key) <T> T
getInstance
(Class<T> type) <T> com.google.inject.MembersInjector<T>
getMembersInjector
(com.google.inject.TypeLiteral<T> typeLiteral) <T> com.google.inject.MembersInjector<T>
getMembersInjector
(Class<T> type) com.google.inject.Injector
<T> com.google.inject.Provider<T>
getProvider
(com.google.inject.Key<T> key) <T> com.google.inject.Provider<T>
getProvider
(Class<T> type) Map<Class<? extends Annotation>,
com.google.inject.Scope> Set<com.google.inject.spi.TypeConverterBinding>
void
injectMembers
(Object instance) protected abstract com.google.inject.Injector
resolve()
-
Constructor Details
-
ProxyInjector
public ProxyInjector()
-
-
Method Details
-
resolve
protected abstract com.google.inject.Injector resolve() -
injectMembers
- Specified by:
injectMembers
in interfacecom.google.inject.Injector
-
getMembersInjector
public <T> com.google.inject.MembersInjector<T> getMembersInjector(com.google.inject.TypeLiteral<T> typeLiteral) - Specified by:
getMembersInjector
in interfacecom.google.inject.Injector
-
getMembersInjector
- Specified by:
getMembersInjector
in interfacecom.google.inject.Injector
-
getBindings
- Specified by:
getBindings
in interfacecom.google.inject.Injector
-
getAllBindings
- Specified by:
getAllBindings
in interfacecom.google.inject.Injector
-
getBinding
public <T> com.google.inject.Binding<T> getBinding(com.google.inject.Key<T> key) - Specified by:
getBinding
in interfacecom.google.inject.Injector
-
getBinding
- Specified by:
getBinding
in interfacecom.google.inject.Injector
-
getExistingBinding
public <T> com.google.inject.Binding<T> getExistingBinding(com.google.inject.Key<T> key) - Specified by:
getExistingBinding
in interfacecom.google.inject.Injector
-
findBindingsByType
public <T> List<com.google.inject.Binding<T>> findBindingsByType(com.google.inject.TypeLiteral<T> type) - Specified by:
findBindingsByType
in interfacecom.google.inject.Injector
-
getProvider
public <T> com.google.inject.Provider<T> getProvider(com.google.inject.Key<T> key) - Specified by:
getProvider
in interfacecom.google.inject.Injector
-
getProvider
- Specified by:
getProvider
in interfacecom.google.inject.Injector
-
getInstance
public <T> T getInstance(com.google.inject.Key<T> key) - Specified by:
getInstance
in interfacecom.google.inject.Injector
-
getInstance
- Specified by:
getInstance
in interfacecom.google.inject.Injector
-
getParent
public com.google.inject.Injector getParent()- Specified by:
getParent
in interfacecom.google.inject.Injector
-
createChildInjector
public com.google.inject.Injector createChildInjector(Iterable<? extends com.google.inject.Module> modules) - Specified by:
createChildInjector
in interfacecom.google.inject.Injector
-
createChildInjector
public com.google.inject.Injector createChildInjector(com.google.inject.Module... modules) - Specified by:
createChildInjector
in interfacecom.google.inject.Injector
-
getScopeBindings
- Specified by:
getScopeBindings
in interfacecom.google.inject.Injector
-
getTypeConverterBindings
- Specified by:
getTypeConverterBindings
in interfacecom.google.inject.Injector
-
getElements
- Specified by:
getElements
in interfacecom.google.inject.Injector
-
getAllMembersInjectorInjectionPoints
public Map<com.google.inject.TypeLiteral<?>,List<com.google.inject.spi.InjectionPoint>> getAllMembersInjectorInjectionPoints()- Specified by:
getAllMembersInjectorInjectionPoints
in interfacecom.google.inject.Injector
-