Package tigase.mix.modules
Class ChannelCreateModule
java.lang.Object
tigase.stats.CounterValue
tigase.stats.Counter
tigase.stats.StatisticHolderImpl
tigase.pubsub.AbstractPubSubModule
tigase.mix.modules.ChannelCreateModule
- All Implemented Interfaces:
tigase.component.modules.Module
,tigase.stats.StatisticHolder
@Bean(name="channelCreateModule",
parent=IMixComponent.class,
active=true)
public class ChannelCreateModule
extends tigase.pubsub.AbstractPubSubModule
-
Field Summary
Fields inherited from class tigase.pubsub.AbstractPubSubModule
config, log, packetWriter, 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
Modifier and TypeMethodDescriptionvoid
createChannel
(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.BareJID owner, boolean isAdHoc) tigase.criteria.Criteria
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
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
Methods inherited from interface tigase.stats.StatisticHolder
everyHour, everyMinute, everySecond
-
Constructor Details
-
ChannelCreateModule
public ChannelCreateModule()
-
-
Method Details
-
getModuleCriteria
public tigase.criteria.Criteria getModuleCriteria() -
process
public void process(tigase.server.Packet packet) throws tigase.component.exceptions.ComponentException, tigase.util.stringprep.TigaseStringprepException - Throws:
tigase.component.exceptions.ComponentException
tigase.util.stringprep.TigaseStringprepException
-
createChannel
public void createChannel(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.BareJID owner, boolean isAdHoc) throws tigase.pubsub.exceptions.PubSubException, tigase.component.exceptions.RepositoryException - Throws:
tigase.pubsub.exceptions.PubSubException
tigase.component.exceptions.RepositoryException
-