Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,6 @@ public interface BeanContainer {
* or, in the Jakarta EE environment, the Jakarta EE component from whose JNDI environment namespace the
* <code>BeanContainer</code> was obtained, according to the rules of typesafe resolution.
* <p>
* Note that when called during invocation of an {@link AfterBeanDiscovery} event observer,
* the <code>Instance</code> returned by this method will only give access to instances of beans discovered by the container
* before the {@link AfterBeanDiscovery} event is fired.
* <p>
* Instances of dependent scoped beans obtained with this <code>Instance</code> must be explicitly destroyed by calling {@link Instance#destroy(Object)}
* <p>
* If no qualifier is passed to {@link Instance#select} method, the <code>@Default</code> qualifier is assumed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@
* <li>{@link #resolveInterceptors(InterceptionType, java.lang.annotation.Annotation...)},</li>
* <li>{@link #resolveObserverMethods(Object, java.lang.annotation.Annotation...)},</li>
* <li>{@link #validate(InjectionPoint)},</li>
* <li>{@link #createInstance()}</li>
* </ul>
* <p>
* and the following operations must not be called before the {@link AfterDeploymentValidation} event is fired:
* </p>
* <ul>
* <li>{@link #createInstance()}</li>
* <li>{@link #getReference(Bean, java.lang.reflect.Type, CreationalContext)},</li>
* <li>{@link #getInjectableReference(InjectionPoint, CreationalContext)},</li>
* </ul>
Expand Down