Package tigase.pubsub
Class AbstractPubSubModule
java.lang.Object
tigase.stats.CounterValue
tigase.stats.Counter
tigase.stats.StatisticHolderImpl
tigase.pubsub.AbstractPubSubModule
- All Implemented Interfaces:
tigase.component.modules.Module
,tigase.stats.StatisticHolder
- Direct Known Subclasses:
AbstractConfigCreateNode
,CapsModule
,DefaultConfigModule
,ManageAffiliationsModule
,ManageSubscriptionModule
,NodeDeleteModule
,PendingSubscriptionModule
,PresenceCollectorModule
,PresenceNotifierModule
,PresencePerNodeExtension
,PublishItemModule
,PurgeItemsModule
,RetractItemModule
,RetrieveAffiliationsModule
,RetrieveItemsModule
,RetrieveSubscriptionsModule
,SubscribeNodeModule
,UnsubscribeNodeModule
public abstract class AbstractPubSubModule
extends tigase.stats.StatisticHolderImpl
implements tigase.component.modules.Module
Base class for modules of PubSub component. Provides commonly used properties and methods.
- Version:
- 5.0.0, 2010.03.27 at 05:24:03 GMT
- Author:
- Artur Hefczyc
-
Field Summary
Modifier and TypeFieldDescriptionprotected IPubSubConfig
protected static final Logger
protected tigase.component.PacketWriter
protected PubSubLogic
Fields inherited from class tigase.stats.CounterValue
counter, level, name
Fields inherited from interface tigase.component.modules.Module
EMPTY_FEATURES
-
Constructor Summary
-
Method Summary
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 Details
-
log
-
config
-
pubSubLogic
-
packetWriter
@Inject protected tigase.component.PacketWriter packetWriter
-
-
Constructor Details
-
AbstractPubSubModule
public AbstractPubSubModule()
-
-
Method Details
-
makeArray
-
makeArray
-
canHandle
public boolean canHandle(tigase.server.Packet packet) - Specified by:
canHandle
in interfacetigase.component.modules.Module
-
getRepository
-