Class EventPublisherModule

    • Constructor Detail

      • EventPublisherModule

        public EventPublisherModule()
    • Method Detail

      • getFeatures

        public java.lang.String[] getFeatures()
        Description copied from interface: Module
        Returns XMPP features offered by module. Features will be returned by Service Discovery.
        Specified by:
        getFeatures in interface Module
        Returns:
        array of features or null.
      • getModuleCriteria

        public Criteria getModuleCriteria()
        Description copied from interface: Module
        Returns critera used by Component to select module to handle incoming stanza.
        Specified by:
        getModuleCriteria in interface Module
        Returns:
        criteria of selecting module.
      • initialize

        public void initialize()
        Description copied from interface: Initializable
        Method will be called, when bean will be created, configured and ready to use.
        Specified by:
        initialize in interface Initializable
      • publishEvent

        public void publishEvent​(Element event)
      • publishEvent

        public void publishEvent​(java.lang.String eventPackage,
                                 java.lang.String name,
                                 Element event,
                                 java.util.Collection<Subscription> subscribers)
      • publishObjectEvent

        public void publishObjectEvent​(java.lang.Object event)
      • getSubscribers

        protected java.util.Collection<Subscription> getSubscribers​(java.lang.String packageName,
                                                                    java.lang.String eventName,
                                                                    java.lang.Object event)