Skip to content
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