@Role public interface NamespaceContextExecutor
| Modifier and Type | Method and Description |
|---|---|
<V> V |
execute(Namespace namespace,
Callable<V> callable)
Execute the passed
Callable in the context of the specified namespace. |
<V> V execute(Namespace namespace, Callable<V> callable) throws Exception
Callable in the context of the specified namespace.V - the result type of method callnamespace - the namespace to usecallable - the task to executeException - if unable to compute a resultCopyright © 2004–2021 XWiki. All rights reserved.