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