Skip to content

Commit

Permalink
Add specification text for BeanContainer.getContexts()
Browse files Browse the repository at this point in the history
  • Loading branch information
Ladicek committed Jun 28, 2023
1 parent 9f6d5d0 commit 37afd0e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions spec/src/main/asciidoc/core/beanmanager_lite.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,17 @@ The method `BeanContainer.getContext()` retrieves an active context object assoc
public Context getContext(Class<? extends Annotation> scopeType);
----

[[bm_obtain_contexts]]

==== Obtaining ``Context``s for a scope

The method `BeanContainer.getContexts()` retrieves all context objects, active and inactive, associated with the given scope, as defined in <<contexts>>.

[source, java]
----
public Collection<Context> getContexts(Class<? extends Annotation> scopeType);
----

[[bm_obtain_instance]]

==== Obtain an `Instance`
Expand Down

0 comments on commit 37afd0e

Please sign in to comment.