Package tigase.pubsub.modules
Class ManageAffiliationsModule
- java.lang.Object
-
- tigase.stats.CounterValue
-
- tigase.stats.Counter
-
- tigase.stats.StatisticHolderImpl
-
- tigase.pubsub.AbstractPubSubModule
-
- tigase.pubsub.modules.ManageAffiliationsModule
-
- All Implemented Interfaces:
tigase.component.modules.Module
,tigase.stats.StatisticHolder
@Bean(name="manageAffiliationsModule", parent=PubSubComponent.class, active=true) public class ManageAffiliationsModule extends AbstractPubSubModule
-
-
Field Summary
-
Fields inherited from class tigase.pubsub.AbstractPubSubModule
config, log, packetWriter, pubSubLogic
-
-
Constructor Summary
Constructors Constructor Description ManageAffiliationsModule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static tigase.server.Packet
createAffiliationNotification(tigase.xmpp.jid.JID fromJid, tigase.xmpp.jid.JID toJid, java.lang.String nodeName, Affiliation affilation)
java.lang.String[]
getFeatures()
tigase.criteria.Criteria
getModuleCriteria()
void
process(tigase.server.Packet packet)
-
Methods inherited from class tigase.pubsub.AbstractPubSubModule
canHandle, getRepository, makeArray, makeArray
-
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
-
-
-
-
Method Detail
-
createAffiliationNotification
public static tigase.server.Packet createAffiliationNotification(tigase.xmpp.jid.JID fromJid, tigase.xmpp.jid.JID toJid, java.lang.String nodeName, Affiliation affilation)
-
getFeatures
public java.lang.String[] getFeatures()
-
getModuleCriteria
public tigase.criteria.Criteria getModuleCriteria()
-
process
public void process(tigase.server.Packet packet) throws PubSubException
- Throws:
PubSubException
-
-