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
FieldsModifier and TypeFieldDescriptionprotected IPubSubConfigprotected static final Loggerprotected tigase.component.PacketWriterprotected PubSubLogicFields inherited from class tigase.stats.CounterValue
counter, level, nameFields inherited from interface tigase.component.modules.Module
EMPTY_FEATURES -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class tigase.stats.StatisticHolderImpl
getStatistics, setStatisticsPrefix, statisticExecutedInMethods inherited from class tigase.stats.Counter
everyHour, everyMinute, everySecond, getPerHour, getPerMinute, getPerSecondMethods inherited from class tigase.stats.CounterValue
getLevel, getName, getValue, inc, setName, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface tigase.component.modules.Module
getFeatures, getModuleCriteria, processMethods 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:
canHandlein interfacetigase.component.modules.Module
-
getRepository
-