// transport=TRANSPORT/property=<name>:add(value=<value>)
// transport=TRANSPORT/property=<name>:write-attribute(name=value, value=<value>)
// transport=TRANSPORT:add(...,properties=<list of properties>)
final ModelVersion version110 = ModelVersion.create(1, 1, 0);
final RejectExpressionValuesTransformer TRANSFORMER = new RejectExpressionValuesTransformer(PropertyResource.VALUE,
TransportResource.PROPERTIES, ProtocolResource.PROPERTIES, TransportResource.SHARED);
final TransformersSubRegistration registration = subsystem.registerModelTransformers(version110, ResourceTransformer.DEFAULT);
final TransformersSubRegistration stack = registration.registerSubResource(StackResource.STACK_PATH);
// reject expressions for transport properties, for the add and write-attribute op
final TransformersSubRegistration transport = stack.registerSubResource(TransportResource.TRANSPORT_PATH, (ResourceTransformer)TRANSFORMER) ;
transport.registerOperationTransformer(ADD, TRANSFORMER);
transport.registerOperationTransformer(WRITE_ATTRIBUTE_OPERATION, TRANSFORMER.getWriteAttributeTransformer());
final TransformersSubRegistration transport_property = transport.registerSubResource(PropertyResource.PROPERTY_PATH) ;
transport_property.registerOperationTransformer(ADD, TRANSFORMER);
transport_property.registerOperationTransformer(WRITE_ATTRIBUTE_OPERATION, TRANSFORMER.getWriteAttributeTransformer());
// reject expressions for transport properties, for the add and write-attribute op
final TransformersSubRegistration protocol = stack.registerSubResource(ProtocolResource.PROTOCOL_PATH, (ResourceTransformer)TRANSFORMER) ;
protocol.registerOperationTransformer(ADD, TRANSFORMER);
final TransformersSubRegistration protocol_property = protocol.registerSubResource(PropertyResource.PROPERTY_PATH) ;
protocol_property.registerOperationTransformer(ADD, TRANSFORMER);
protocol_property.registerOperationTransformer(WRITE_ATTRIBUTE_OPERATION, TRANSFORMER.getWriteAttributeTransformer());
}