We should add method such as {{Set<Class<? extends Annotation>> getAllContexts getAllScopes ()}} (name is subject to change) which will allow to retrieve all known scopes, even those registered by different libraries.
This could be further used for context propagation of custom scopes (in combination with {{BM.getContext()}} method) as long as they will implement our API. |
|