Package org.jboss.as.controller.registry
Interface OperationTransformerRegistry.PlaceholderResolver
- Enclosing class:
- OperationTransformerRegistry
public static interface OperationTransformerRegistry.PlaceholderResolver
An extra resolver to be used for
OperationTransformerRegistry entries where placeholder==true. These placeholder entries transformers should create
a new TransformationTarget containing the PlaceholderResolver 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
Modifier and TypeMethodDescriptionresolveOperationTransformer(Iterator<PathElement> iterator, String operationName) Resolves a resource transformer from the relative address of the currentOperationTransformerRegistryentryvoidresolvePathTransformers(Iterator<PathElement> iterator, List<PathAddressTransformer> list) Adds path address transformers to the list for the relative address and below of the currentOperationTransformerRegistryentryresolveTransformerEntry(Iterator<PathElement> iterator) Resolves aTransformerEntryfrom the relative address of the currentOperationTransformerRegistryentry
-
Method Details
-
resolveOperationTransformer
OperationTransformerRegistry.OperationTransformerEntry resolveOperationTransformer(Iterator<PathElement> iterator, String operationName) Resolves a resource transformer from the relative address of the currentOperationTransformerRegistryentry- 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
nullif not found
-
resolvePathTransformers
Adds path address transformers to the list for the relative address and below of the currentOperationTransformerRegistryentry- 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
Resolves aTransformerEntryfrom the relative address of the currentOperationTransformerRegistryentry- 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
nullif not found
-