Class AbstractPublisherManager<T extends AbstractPublisherManager<T>>

  • Type Parameters:
    T - Type of concrete manager, needed for fluent methods.
    All Implemented Interfaces:
    org.symphonyoss.s2.common.fluent.IFluent<T>, org.symphonyoss.s2.fugue.IFugueComponent, org.symphonyoss.s2.fugue.IFugueLifecycleComponent, IPublisherManager

    public abstract class AbstractPublisherManager<T extends AbstractPublisherManager<T>>
    extends org.symphonyoss.s2.fugue.FugueLifecycleComponent<T>
    implements IPublisherManager
    Base class for publisher managers.
    Author:
    Bruce Skingle
    • Field Detail

      • nameFactory_

        protected final org.symphonyoss.s2.fugue.naming.INameFactory nameFactory_
    • Method Detail

      • getPublisherByName

        public IPublisher getPublisherByName​(String topicId)
        Description copied from interface: IPublisherManager
        Get the IPublisher for the given named topic.
        Specified by:
        getPublisherByName in interface IPublisherManager
        Parameters:
        topicId - The actual name of a topic.
        Returns:
        The publisher for the required topic.
      • getPublisherByName

        public IPublisher getPublisherByName​(String serviceId,
                                             String topicId)
        Description copied from interface: IPublisherManager
        Get the IPublisher for the given named topic.
        Specified by:
        getPublisherByName in interface IPublisherManager
        Parameters:
        serviceId - The ID of the service which owns the topic.
        topicId - The actual name of a topic.
        Returns:
        The publisher for the required topic.
      • assertConfigurable

        protected void assertConfigurable()
      • setLifeCycleState

        protected void setLifeCycleState​(org.symphonyoss.s2.fugue.FugueLifecycleState arg0)
      • getLifecycleState

        public org.symphonyoss.s2.fugue.FugueLifecycleState getLifecycleState()