Examples of TransformationContext


Examples of org.jboss.as.controller.transform.TransformationContext

            final AttributeTransformationDescription description = attributeTransformations.get(attributeName);
            if(description == null) {
                context.invokeNext(operation);
                return;
            }
            final TransformationContext ctx = context.getContext();
            final ModelNode attributeValue = operation.get(ModelDescriptionConstants.VALUE);
            //discard what can be discarded
            if (description.shouldDiscard(address, attributeValue, operation, context)) {
                context.recordTransformedOperation(OperationTransformer.DISCARD.transformOperation(ctx, address, operation));
                return;
View Full Code Here

Examples of org.jboss.as.controller.transform.TransformationContext

            return proxy.getProxyNodeAddress();
        }

        @Override
        public OperationTransformer.TransformedOperation transformOperation(final OperationContext context, final ModelNode operation) throws OperationFailedException {
            final TransformationContext transformationContext = Transformers.Factory.getTransformationContext(transformers, context);
            return transformers.transformOperation(transformationContext, operation);
        }
View Full Code Here

Examples of project.gluebooster.transformation.TransformationContext

   */
  @Override
  public TransformationContext transform( TransformationContext context)
  { 
   
    TransformationContext resultContext;
    try
    {
      if ( result == null)
        result = (Collection) collectionClass.newInstance();
     
View Full Code Here

Examples of rcl.transformer.TransformationContext

* @author mischael
*/
public class RCLPreMain {

  public static void premain(String agentArgs, Instrumentation inst) {
    TransformationContext context = new TransformationContext();
    String[] patterns = agentArgs.split(",");
    int i = 0;
    for (String p: patterns) {
      p = p.replace(".", "/");
      p = p.replace("*", ".*");
      p = p.replace("?", ".?");

      context.addCheckedClassPattern(Pattern.compile(p));
    }
   
    inst.addTransformer(new Transformer(context));
 
View Full Code Here

Examples of soj.transformer.TransformationContext

* @author mischael
*/
public class RCLPreMain {

  public static void premain(String agentArgs, Instrumentation inst) {
    TransformationContext context = new TransformationContext();
    String[] patterns = agentArgs.split(",");
    int i = 0;
    for (String p: patterns) {
      p = p.replace(".", "/");
      p = p.replace("*", ".*");
      p = p.replace("?", ".?");

      context.addCheckedClassPattern(Pattern.compile(p));
    }
   
    inst.addTransformer(new Transformer(context));
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.