Class MonitorMailer

  • All Implemented Interfaces:
    tigase.kernel.beans.Initializable, tigase.kernel.beans.UnregisterAware, tigase.monitor.MonitorExtension

    @Bean(name="monitor-mailer",
          active=true,
          exportable=true)
    public class MonitorMailer
    extends java.lang.Object
    implements tigase.monitor.MonitorExtension, tigase.kernel.beans.Initializable, tigase.kernel.beans.UnregisterAware
    • Constructor Summary

      Constructors 
      Constructor Description
      MonitorMailer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void beforeUnregister()  
      tigase.eventbus.EventBus getEventBus()  
      void initialize()  
      protected void onEvent​(java.lang.String name, java.lang.String xmlns, tigase.xml.Element event)  
      void setEventBus​(tigase.eventbus.EventBus eventBus)  
      void setProperties​(java.util.Map<java.lang.String,​java.lang.Object> props)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MonitorMailer

        public MonitorMailer()
    • Method Detail

      • getEventBus

        public tigase.eventbus.EventBus getEventBus()
      • setEventBus

        public void setEventBus​(tigase.eventbus.EventBus eventBus)
      • beforeUnregister

        public void beforeUnregister()
        Specified by:
        beforeUnregister in interface tigase.kernel.beans.UnregisterAware
      • initialize

        public void initialize()
        Specified by:
        initialize in interface tigase.kernel.beans.Initializable
      • setProperties

        public void setProperties​(java.util.Map<java.lang.String,​java.lang.Object> props)
        Specified by:
        setProperties in interface tigase.monitor.MonitorExtension
      • onEvent

        protected void onEvent​(java.lang.String name,
                               java.lang.String xmlns,
                               tigase.xml.Element event)