public static interface ILoadOnDemandPolicy.Registry
Modifier and Type | Method and Description |
---|---|
ILoadOnDemandPolicy |
addPolicy(ILoadOnDemandPolicy policy)
Add the given
policy to this registry. |
void |
clear()
Removes all of the registered policies.
|
List<ILoadOnDemandPolicy> |
getPolicies()
Returns the list of registered policies.
|
boolean |
hasAnyAuthorizingPolicy(URI uri)
Returns true if at least one of the contained policy is authorizing the given policy to be loaded
on demand.
|
ILoadOnDemandPolicy |
removePolicy(String className)
Removes the policy registered within this registry with the given class name.
|
boolean hasAnyAuthorizingPolicy(URI uri)
uri
- the URI to be tested.List<ILoadOnDemandPolicy> getPolicies()
ILoadOnDemandPolicy addPolicy(ILoadOnDemandPolicy policy)
policy
to this registry.policy
- the policy to be added.policy
.ILoadOnDemandPolicy removePolicy(String className)
className
- the class name of a previously registered policy.void clear()
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.