|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExtensionsFilter
Allows extensions and extension points to be enabled/disabled
and sorted externally. An object of this class is used by the
Registry.useExtensions(ClientContext, ExtensionsFilter, String...)
method.
Method Summary | |
---|---|
boolean |
isEnabled(Extension<?> extension)
Check if an extension is enabled or disabled. |
boolean |
isEnabled(ExtensionPoint<?> extensionPoint)
Check if an extension point is enabled or disabled. |
void |
sort(List<? extends InvokationContext<?>> extensions)
Sort a list of invoked extensions according to some property. |
Method Detail |
---|
boolean isEnabled(ExtensionPoint<?> extensionPoint)
extensionPoint
- The extension point to check
boolean isEnabled(Extension<?> extension)
extension
- The extension to check
void sort(List<? extends InvokationContext<?>> extensions)
extensions
- The list of extensions to sort
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |