Package org.jboss.as.logging.resolvers
Class TargetResolver
- java.lang.Object
-
- org.jboss.as.logging.resolvers.TargetResolver
-
- All Implemented Interfaces:
ModelNodeResolver<String>
public class TargetResolver extends Object implements ModelNodeResolver<String>
Date: 15.12.2011- Author:
- James R. Perkins
-
-
Field Summary
Fields Modifier and Type Field Description static TargetResolverINSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringresolveValue(OperationContext context, org.jboss.dmr.ModelNode value)Formats the attribute to the desired type.
-
-
-
Field Detail
-
INSTANCE
public static final TargetResolver INSTANCE
-
-
Method Detail
-
resolveValue
public String resolveValue(OperationContext context, org.jboss.dmr.ModelNode value)
Description copied from interface:ModelNodeResolverFormats the attribute to the desired type.- Specified by:
resolveValuein interfaceModelNodeResolver<String>- Parameters:
context- the operation contextvalue- the value to format- Returns:
- the formatted value
-
-