Class TOBOEntityAdapter


  • public class TOBOEntityAdapter
    extends java.lang.Object
    Constructs a TOBOEntityAdapter to handle requests for the TOBO Entity subjects.
    • Constructor Detail

      • TOBOEntityAdapter

        public TOBOEntityAdapter​(com.caplin.datasource.DataSource dataSource)
        Constructs a TOBOEntityAdapter to handle requests for the TOBO Entity subjects.
        Parameters:
        dataSource - The dataSource to wrap.
    • Method Detail

      • registerTOBOEntityBlotterListener

        public void registerTOBOEntityBlotterListener​(TOBOEntityListener<TOBOEntityChannel> toboEntityListener)
        Registers a BlotterListener that is capable of responding to TOBO Entity requests
        Parameters:
        toboEntityListener - the TOBOEntityListener that will receive the TOBO Entity requests
      • registerTOBOEntityBlotterListener

        public void registerTOBOEntityBlotterListener​(TOBOEntityListener<TOBOEntityChannel> toboEntityListener,
                                                      java.lang.String channelNamespace,
                                                      java.lang.String itemNamespace)
        Registers a BlotterListener that is capable of responding to TOBO Entity requests
        Parameters:
        toboEntityListener - the BlotterListener that will receive the TOBO Entity requests
        channelNamespace - the namespace for the channel
        itemNamespace - the namespace for the blotter items
      • registerTOBOEntityChangeProvider

        public void registerTOBOEntityChangeProvider​(TOBOEntityChangeProvider<TOBOChangeEntitySubjectInfo> toboEntityChangeProvider)
        Registers a provider that is capable of responding to TOBO Entity change requests
        Parameters:
        toboEntityChangeProvider - the TOBOEntityChangeProvider that will receive the TOBO Entity change requests
      • registerTOBOEntityChangeProvider

        public <T extends SubjectInfo> void registerTOBOEntityChangeProvider​(TOBOEntityChangeProvider<T> toboEntityChangeProvider,
                                                                             com.caplin.datasource.namespace.Namespace namespace)
        Registers a provider that is capable of responding to TOBO Entity change requests
        Parameters:
        toboEntityChangeProvider - the TOBOEntityChangeProvider that will receive the TOBO Entity change requests
        namespace - the namespace for the TOBO Entity change requests