Class AliasOperationTransformer
- java.lang.Object
-
- org.jboss.as.controller.transform.AliasOperationTransformer
-
- All Implemented Interfaces:
CombinedTransformer
,OperationTransformer
,ResourceTransformer
@Deprecated public class AliasOperationTransformer extends Object implements CombinedTransformer
Deprecated.OperationTransformer
andResourceTransformer
transforming the operation address only.- Author:
- Emanuel Muckenhuber
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AliasOperationTransformer.AddressTransformer
Deprecated.-
Nested classes/interfaces inherited from interface org.jboss.as.controller.transform.OperationTransformer
OperationTransformer.TransformedOperation
-
-
Field Summary
-
Fields inherited from interface org.jboss.as.controller.transform.OperationTransformer
DEFAULT, DEFAULT_REJECTION_POLICY, DISCARD, SUCCESSFUL_RESULT
-
Fields inherited from interface org.jboss.as.controller.transform.ResourceTransformer
DEFAULT, DISCARD
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AliasOperationTransformer(AliasOperationTransformer.AddressTransformer transformer)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AliasOperationTransformer
create(AliasOperationTransformer.AddressTransformer transformer)
Deprecated.static AliasOperationTransformer
replaceLastElement(PathElement element)
Deprecated.Replace the last element of an address with a static path element.OperationTransformer.TransformedOperation
transformOperation(TransformationContext context, PathAddress address, org.jboss.dmr.ModelNode original)
Deprecated.Transform the operation.void
transformResource(ResourceTransformationContext currentCtx, PathAddress address, Resource resource)
Deprecated.Transform a resource.
-
-
-
Constructor Detail
-
AliasOperationTransformer
protected AliasOperationTransformer(AliasOperationTransformer.AddressTransformer transformer)
Deprecated.
-
-
Method Detail
-
transformOperation
public OperationTransformer.TransformedOperation transformOperation(TransformationContext context, PathAddress address, org.jboss.dmr.ModelNode original) throws OperationFailedException
Deprecated.Description copied from interface:OperationTransformer
Transform the operation.- Specified by:
transformOperation
in interfaceOperationTransformer
- Parameters:
context
- the operation contextaddress
- the path addressoriginal
- the operation- Returns:
- the transformed operation
- Throws:
OperationFailedException
-
transformResource
public void transformResource(ResourceTransformationContext currentCtx, PathAddress address, Resource resource) throws OperationFailedException
Deprecated.Description copied from interface:ResourceTransformer
Transform a resource.- Specified by:
transformResource
in interfaceResourceTransformer
- Parameters:
currentCtx
- the resource transformation contextaddress
- the path addressresource
- the resource to transform- Throws:
OperationFailedException
-
replaceLastElement
public static AliasOperationTransformer replaceLastElement(PathElement element)
Deprecated.Replace the last element of an address with a static path element.- Parameters:
element
- the path element- Returns:
- the operation address transformer
-
create
public static AliasOperationTransformer create(AliasOperationTransformer.AddressTransformer transformer)
Deprecated.
-
-