Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add specification text for BeanContainer.getContexts() #685

Merged
merged 1 commit into from
Jun 28, 2023
Merged
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
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