Interface IClassRegistry

All Known Implementing Classes:
ClassRegistry, ClassRegistry, ClassRegistry, ClassRegistry, ExperimentClassRegistry, FileBeanClassRegistry, MappingUIClassRegistry, ProcessingClassRegistry, ScanningAPIClassRegistry, ScanningEventsClassRegistry, ScanningExampleClassRegistry

public interface IClassRegistry
A ClassRegistry is used to provide a class id for use when marshalling objects. This is typically necessary when dealing with dynamically defined types in the bean definition, or to allow e.g. a subscriber to determine the received bean class type. Provide an IClassRegistry to the extension point: org.eclipse.dawnsci.analysis.classregistry to enable proper marshalling for the given objects.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the Mapinvalid input: '<'String, Classinvalid input: '<'?>> that stores the id string to class information.
  • Method Details

    • getIdToClassMap

      Map<String,Class<?>> getIdToClassMap()
      Return the Mapinvalid input: '<'String, Classinvalid input: '<'?>> that stores the id string to class information.
      Returns:
      the Map that links id strings to classes.