Package org.jboss.as.controller.registry
Interface OperationTransformerRegistry.PlaceholderResolver
-
- Enclosing class:
- OperationTransformerRegistry
public static interface OperationTransformerRegistry.PlaceholderResolver
An extra resolver to be used forOperationTransformerRegistry
entries whereplaceholder==true
. These placeholder entries transformers should create a newTransformationTarget
containing thePlaceholderResolver
and resolve the children themselves. Note that if a place holder resolver is used at a given resource address, this takes precedence over the normal transformer registry, so all children must use the placeholders.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OperationTransformerRegistry.OperationTransformerEntry
resolveOperationTransformer(Iterator<PathElement> iterator, String operationName)
Resolves a resource transformer from the relative address of the currentOperationTransformerRegistry
entryvoid
resolvePathTransformers(Iterator<PathElement> iterator, List<PathAddressTransformer> list)
Adds path address transformers to the list for the relative address and below of the currentOperationTransformerRegistry
entryTransformerEntry
resolveTransformerEntry(Iterator<PathElement> iterator)
Resolves aTransformerEntry
from the relative address of the currentOperationTransformerRegistry
entry
-
-
-
Method Detail
-
resolveOperationTransformer
OperationTransformerRegistry.OperationTransformerEntry resolveOperationTransformer(Iterator<PathElement> iterator, String operationName)
Resolves a resource transformer from the relative address of the currentOperationTransformerRegistry
entry- Parameters:
iterator
- an iterator of the path elements of the resource we want to transform. On the initial call, this will be at the address of the placeholder entryoperationName
- the name of the operation transformer to resolve- Returns:
- the operation transformer, or
null
if not found
-
resolvePathTransformers
void resolvePathTransformers(Iterator<PathElement> iterator, List<PathAddressTransformer> list)
Adds path address transformers to the list for the relative address and below of the currentOperationTransformerRegistry
entry- Parameters:
iterator
- an iterator of the path elements of the resource we want to transform. On the initial call, this will be at the address of the placeholder entrylist
- the list of path address transformers to add the results to
-
resolveTransformerEntry
TransformerEntry resolveTransformerEntry(Iterator<PathElement> iterator)
Resolves aTransformerEntry
from the relative address of the currentOperationTransformerRegistry
entry- Parameters:
iterator
- an iterator of the path elements of the resource we want to transform. On the initial call, this will be at the address of the placeholder entry- Returns:
- the transformer entry, or
null
if not found
-
-