I. It is an error to use an
encounter after the hear() method has
returned.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public void | bindInterceptor(Matcher<? super Method>
matches methods the interceptor should apply to. For example: methodMatcher, MethodInterceptor... annotatedWith(Transactional.class).to bind interceptors)Binds method interceptor[s] to methods matched in type |
| public <T> MembersInjector | getMembersInjector(TypeLiteral<T>
type to get members injector for typeLiteral)Returns the members injector used to inject dependencies into methods and fields on instances
of the given type |
| public <T> MembersInjector | getMembersInjector(Class<T>
type to get members injector for type)Returns the members injector used to inject dependencies into methods and fields on instances
of the given type |
| public <T> Provider | |
| public <T> Provider | getProvider(Class<T> type)
Returns the provider used to obtain instances for the given injection type. |
| public void | |
| public void |
| addError | back to summary |
|---|---|
| public void addError(String message, Object... arguments) Records an error message for type | |
| addError | back to summary |
|---|---|
| public void addError(Throwable t) Records an exception for type | |
| addError | back to summary |
|---|---|
| public void addError(Message message) Records an error message to be presented to the user at a later time. | |
| bindInterceptor | back to summary |
|---|---|
| public void bindInterceptor(Matcher<? super Method> methodMatcher, MethodInterceptor... interceptors) Binds method interceptor[s] to methods matched in type
| |
| getMembersInjector | back to summary |
|---|---|
| public <T> MembersInjector Returns the members injector used to inject dependencies into methods and fields on instances
of the given type
| |
| getMembersInjector | back to summary |
|---|---|
| public <T> MembersInjector Returns the members injector used to inject dependencies into methods and fields on instances
of the given type
| |
| getProvider | back to summary |
|---|---|
| public <T> Provider Returns the provider used to obtain instances for the given injection key. The returned
provider will not be valid until the injector has been created. The provider will throw an
| |
| getProvider | back to summary |
|---|---|
| public <T> Provider Returns the provider used to obtain instances for the given injection type. The returned
provider will not be valid until the injector has been created. The provider will throw an
| |
| register | back to summary |
|---|---|
| public void register(MembersInjector<? super I> membersInjector) Registers a members injector for type | |
| register | back to summary |
|---|---|
| public void register(InjectionListener<? super I> listener) Registers an injection listener for type | |