Interface VirtualFieldMappingsBuilder

All Known Implementing Classes:
VirtualFieldMappingsBuilderImpl

public interface VirtualFieldMappingsBuilder
This interface allows registering VirtualField class pairs.

This interface should not be implemented by the javaagent extension developer - the javaagent will provide the implementation of all transformations described here.

  • Method Summary

    Modifier and Type
    Method
    Description
    register(String typeName, String fieldTypeName)
    Register the association between the typeName and the fieldTypeName.
  • Method Details

    • register

      VirtualFieldMappingsBuilder register(String typeName, String fieldTypeName)
      Register the association between the typeName and the fieldTypeName. Class pairs registered using this method will be available as VirtualFields in the runtime; obtainable by calling VirtualField.find(Class, Class).
      Parameters:
      typeName - The name of the type that will contain the virtual field of type named fieldTypeName.
      fieldTypeName - The name of the field type that will be added to type.
      Returns:
      this.
      See Also:
      • VirtualField