@Portable public class DefaultPreferenceScopeResolver extends Object implements PreferenceScopeResolver
DefaultPreferenceScopeResolutionStrategy. If you use another
PreferenceScopeResolutionStrategy implementation, you should provide your own portable resolver
when implementing getScopeResolver.| Constructor and Description |
|---|
DefaultPreferenceScopeResolver(List<PreferenceScope> order) |
| Modifier and Type | Method and Description |
|---|---|
PreferenceScope |
resolve(String... scopeTypes)
Returns a PreferenceScope that belongs to the resolution strategy hierarchy, based on the passed
types.
|
public DefaultPreferenceScopeResolver(List<PreferenceScope> order)
public PreferenceScope resolve(String... scopeTypes)
PreferenceScopeResolverresolve in interface PreferenceScopeResolverscopeTypes - Scope types associated to the desired scope.Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.