@Singleton public class SelectableScopeResolver extends Object implements ScopeResolver
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_SCOPE
Scope used for selecting all fields, i.e.: when no filter is applied
|
static String |
PREFIX
Prefix for all selectable scopes
|
| Constructor and Description |
|---|
SelectableScopeResolver() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
resolve(Annotation[] annotations)
Resolve entity-filtering scopes for given annotations.
|
public static final String PREFIX
public static final String DEFAULT_SCOPE
public Set<String> resolve(Annotation[] annotations)
ScopeResolverresolve in interface ScopeResolverannotations - list of arbitrary annotations.Copyright © 2007-2016, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.