Package tigase.mix.cluster
Class MixRepositoryClustered<T>
- java.lang.Object
-
- tigase.mix.model.MixRepository<T>
-
- tigase.mix.cluster.MixRepositoryClustered<T>
-
- All Implemented Interfaces:
tigase.mix.model.IMixRepository,tigase.pubsub.repository.cached.CachedPubSubRepository.NodeAffiliationProvider<T>,tigase.pubsub.repository.IItems.IListnener,tigase.pubsub.repository.IPubSubRepository.IListener
@Bean(name="mixRepository", parent=MixComponentClustered.class, active=true) public class MixRepositoryClustered<T> extends tigase.mix.model.MixRepository<T>
-
-
Constructor Summary
Constructors Constructor Description MixRepositoryClustered()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinvalidateChannelParticipant(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.BareJID participantJID)voiditemWritten(tigase.xmpp.jid.BareJID serviceJID, java.lang.String node, java.lang.String id, java.lang.String publisher, tigase.xml.Element item, java.lang.String uuid)voidremoveParticiapnt(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.BareJID participantJID)voidupdateChannelConfiguration(tigase.xmpp.jid.BareJID serviceJID, tigase.xml.Element item)tigase.mix.model.IParticipantupdateParticipant(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.BareJID participantJID, java.lang.String nick)-
Methods inherited from class tigase.mix.model.MixRepository
bannedParticipantFromChannel, getAllowed, getBanned, getChannelConfiguration, getChannelName, getNodeSubscriptions, getParticipant, getParticipant, getParticipant, getUserAffiliations, itemDeleted, loadChannelConfiguration, newNodeAffiliations, removeTempParticipant, serviceRemoved, updateTempParticipant, validateItem
-
-
-
-
Method Detail
-
itemWritten
public void itemWritten(tigase.xmpp.jid.BareJID serviceJID, java.lang.String node, java.lang.String id, java.lang.String publisher, tigase.xml.Element item, java.lang.String uuid)- Specified by:
itemWrittenin interfacetigase.pubsub.repository.IItems.IListnener- Overrides:
itemWrittenin classtigase.mix.model.MixRepository<T>
-
updateChannelConfiguration
public void updateChannelConfiguration(tigase.xmpp.jid.BareJID serviceJID, tigase.xml.Element item)- Overrides:
updateChannelConfigurationin classtigase.mix.model.MixRepository<T>
-
updateParticipant
public tigase.mix.model.IParticipant updateParticipant(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.BareJID participantJID, java.lang.String nick) throws tigase.component.exceptions.RepositoryException, tigase.pubsub.exceptions.PubSubException- Specified by:
updateParticipantin interfacetigase.mix.model.IMixRepository- Overrides:
updateParticipantin classtigase.mix.model.MixRepository<T>- Throws:
tigase.component.exceptions.RepositoryExceptiontigase.pubsub.exceptions.PubSubException
-
removeParticiapnt
public void removeParticiapnt(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.BareJID participantJID) throws tigase.component.exceptions.RepositoryException- Specified by:
removeParticiapntin interfacetigase.mix.model.IMixRepository- Overrides:
removeParticiapntin classtigase.mix.model.MixRepository<T>- Throws:
tigase.component.exceptions.RepositoryException
-
invalidateChannelParticipant
public void invalidateChannelParticipant(tigase.xmpp.jid.BareJID channelJID, tigase.xmpp.jid.BareJID participantJID) throws tigase.component.exceptions.RepositoryException- Overrides:
invalidateChannelParticipantin classtigase.mix.model.MixRepository<T>- Throws:
tigase.component.exceptions.RepositoryException
-
-