Package tigase.pubsub

Class AbstractPubSubModule

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected IPubSubConfig config  
      protected static java.util.logging.Logger log  
      protected tigase.component.PacketWriter packetWriter  
      protected PubSubLogic pubSubLogic  
      • Fields inherited from class tigase.stats.CounterValue

        counter, level, name
      • Fields inherited from interface tigase.component.modules.Module

        EMPTY_FEATURES
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canHandle​(tigase.server.Packet packet)  
      protected IPubSubRepository getRepository()  
      static java.util.List<tigase.server.Packet> makeArray​(tigase.server.Packet... packets)  
      static java.util.List<tigase.xml.Element> makeArray​(tigase.xml.Element... elements)  
      • Methods inherited from class tigase.stats.StatisticHolderImpl

        getStatistics, setStatisticsPrefix, statisticExecutedIn
      • Methods inherited from class tigase.stats.Counter

        everyHour, everyMinute, everySecond, getPerHour, getPerMinute, getPerSecond
      • Methods inherited from class tigase.stats.CounterValue

        getLevel, getName, getValue, inc, setName, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface tigase.component.modules.Module

        getFeatures, getModuleCriteria, process
      • Methods inherited from interface tigase.stats.StatisticHolder

        everyHour, everyMinute, everySecond
    • Field Detail

      • log

        protected static final java.util.logging.Logger log
      • pubSubLogic

        @Inject
        protected PubSubLogic pubSubLogic
      • packetWriter

        @Inject
        protected tigase.component.PacketWriter packetWriter
    • Constructor Detail

      • AbstractPubSubModule

        public AbstractPubSubModule()
    • Method Detail

      • makeArray

        public static java.util.List<tigase.xml.Element> makeArray​(tigase.xml.Element... elements)
      • makeArray

        public static java.util.List<tigase.server.Packet> makeArray​(tigase.server.Packet... packets)
      • canHandle

        public boolean canHandle​(tigase.server.Packet packet)
        Specified by:
        canHandle in interface tigase.component.modules.Module