Interface IFixContextFactory<C extends IFixContext>


  • public interface IFixContextFactory<C extends IFixContext>
    The IFixContext factory that produces the context instances based on the provided marker. The factory is being used by the fix engine and shouldn't be used directly by clients
    • Method Detail

      • createContext

        C createContext​(IMarkerWrapper markerWrapper,
                        IFixSession session)
        Creates a context for the given marker
        Parameters:
        markerWrapper - The marker to create the context for. May not be null
        Returns:
        The created context. May not be null
      • getProvidedContextType

        Class<C> getProvidedContextType()
        Binds this context factory to a specific type of the IFixContext The EDT fix subsystem supports superclasses to match fix contexts in case if the direct correspondence isn't found
        Returns:
        The type of the served IFixContext