public interface CustomScopeRegistry
CustomScope instances.| Modifier and Type | Method and Description |
|---|---|
default Optional<CustomScope> |
findScope(Class<? extends Annotation> scopeAnnotation)
Find a custom scope for the given annotation.
|
Optional<CustomScope> |
findScope(String scopeAnnotation)
Find a custom scope for the given annotation.
|
Optional<CustomScope> findScope(String scopeAnnotation)
scopeAnnotation - The scope annotationdefault Optional<CustomScope> findScope(Class<? extends Annotation> scopeAnnotation)
scopeAnnotation - The scope annotation