Examples of discardChildResource()


Examples of org.jboss.as.controller.transform.description.ResourceTransformationDescriptionBuilder.discardChildResource()

        sessionBuilder.addChildResource(PathElement.pathElement(SERVER_TYPE))
                .getAttributeBuilder()
                .addRejectCheck(RejectAttributeChecker.DEFINED, TLS)
                .setDiscard(DiscardAttributeChecker.UNDEFINED, TLS)
                .end();
        sessionBuilder.discardChildResource(CUSTOM_SERVER_PATH);
        TransformationDescription.Tools.register(builder.build(), subsystem, ModelVersion.create(1, 1, 0));
    }

}
View Full Code Here

Examples of org.jboss.as.controller.transform.description.ResourceTransformationDescriptionBuilder.discardChildResource()

    static void registerTransformers(SubsystemRegistration subsystem) {
        ResourceTransformationDescriptionBuilder builder = TransformationDescriptionBuilder.Factory.createSubsystemInstance();
        JcaWorkManagerDefinition.registerTransformers110(builder);
        JcaCachedConnectionManagerDefinition.registerTransformers110(builder);
        builder.rejectChildResource(JcaDistributedWorkManagerDefinition.PATH_DISTRIBUTED_WORK_MANAGER);
        builder.discardChildResource(TracerDefinition.PATH_TRACER);
        TransformationDescription.Tools.register(builder.build(), subsystem, ModelVersion.create(1, 1, 0));
        ResourceTransformationDescriptionBuilder builder12 = TransformationDescriptionBuilder.Factory.createSubsystemInstance();
        builder12.rejectChildResource(JcaDistributedWorkManagerDefinition.PATH_DISTRIBUTED_WORK_MANAGER);
        builder12.discardChildResource(TracerDefinition.PATH_TRACER);
        TransformationDescription.Tools.register(builder12.build(), subsystem, ModelVersion.create(1, 2, 0));
View Full Code Here

Examples of org.jboss.as.controller.transform.description.ResourceTransformationDescriptionBuilder.discardChildResource()

        builder.rejectChildResource(JcaDistributedWorkManagerDefinition.PATH_DISTRIBUTED_WORK_MANAGER);
        builder.discardChildResource(TracerDefinition.PATH_TRACER);
        TransformationDescription.Tools.register(builder.build(), subsystem, ModelVersion.create(1, 1, 0));
        ResourceTransformationDescriptionBuilder builder12 = TransformationDescriptionBuilder.Factory.createSubsystemInstance();
        builder12.rejectChildResource(JcaDistributedWorkManagerDefinition.PATH_DISTRIBUTED_WORK_MANAGER);
        builder12.discardChildResource(TracerDefinition.PATH_TRACER);
        TransformationDescription.Tools.register(builder12.build(), subsystem, ModelVersion.create(1, 2, 0));
        ResourceTransformationDescriptionBuilder builder20 = TransformationDescriptionBuilder.Factory.createSubsystemInstance();
        builder20.discardChildResource(TracerDefinition.PATH_TRACER);
        TransformationDescription.Tools.register(builder20.build(), subsystem, ModelVersion.create(2, 0, 0));
View Full Code Here

Examples of org.jboss.as.controller.transform.description.ResourceTransformationDescriptionBuilder.discardChildResource()

        ResourceTransformationDescriptionBuilder builder12 = TransformationDescriptionBuilder.Factory.createSubsystemInstance();
        builder12.rejectChildResource(JcaDistributedWorkManagerDefinition.PATH_DISTRIBUTED_WORK_MANAGER);
        builder12.discardChildResource(TracerDefinition.PATH_TRACER);
        TransformationDescription.Tools.register(builder12.build(), subsystem, ModelVersion.create(1, 2, 0));
        ResourceTransformationDescriptionBuilder builder20 = TransformationDescriptionBuilder.Factory.createSubsystemInstance();
        builder20.discardChildResource(TracerDefinition.PATH_TRACER);
        TransformationDescription.Tools.register(builder20.build(), subsystem, ModelVersion.create(2, 0, 0));

    }
}
View Full Code Here

Examples of org.jboss.as.controller.transform.description.ResourceTransformationDescriptionBuilder.discardChildResource()

                .addRejectCheck(RejectAttributeChecker.DEFINED, EeSubsystemRootResource.ANNOTATION_PROPERTY_REPLACEMENT);
        builder.rejectChildResource(PathElement.pathElement(EESubsystemModel.CONTEXT_SERVICE));
        builder.rejectChildResource(PathElement.pathElement(EESubsystemModel.MANAGED_THREAD_FACTORY));
        builder.rejectChildResource(PathElement.pathElement(EESubsystemModel.MANAGED_EXECUTOR_SERVICE));
        builder.rejectChildResource(PathElement.pathElement(EESubsystemModel.MANAGED_SCHEDULED_EXECUTOR_SERVICE));
        builder.discardChildResource(EESubsystemModel.DEFAULT_BINDINGS_PATH);

        TransformationDescription.Tools.register(builder.build(), subsystem, ModelVersion.create(1, 0, 0));
    }

    /**
 
View Full Code Here

Examples of org.jboss.as.controller.transform.description.ResourceTransformationDescriptionBuilder.discardChildResource()

        sessionBuilder.addChildResource(PathElement.pathElement(SERVER_TYPE))
                .getAttributeBuilder()
                .addRejectCheck(RejectAttributeChecker.DEFINED, TLS)
                .setDiscard(DiscardAttributeChecker.UNDEFINED, TLS)
                .end();
        sessionBuilder.discardChildResource(CUSTOM_SERVER_PATH);
        TransformationDescription.Tools.register(builder.build(), subsystem, ModelVersion.create(1, 1, 0));
    }

}
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.