Class UnifiedArchivePlugin
- java.lang.Object
-
- tigase.xmpp.XMPPProcessor
-
- tigase.xmpp.impl.annotation.AnnotatedXMPPProcessor
-
- tigase.archive.unified.processors.UnifiedArchivePlugin
-
- All Implemented Interfaces:
java.lang.Comparable<tigase.xmpp.XMPPImplIfc>
,tigase.xmpp.XMPPImplIfc
,tigase.xmpp.XMPPProcessorConcurrencyAwareIfc
,tigase.xmpp.XMPPProcessorIfc
@Bean(name="unified-archive", parent=tigase.server.xmppsession.SessionManager.class, active=false) public class UnifiedArchivePlugin extends tigase.xmpp.impl.annotation.AnnotatedXMPPProcessor implements tigase.xmpp.XMPPProcessorIfc
- Author:
- andrzej
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
ID
protected tigase.archive.processors.MessageArchivePlugin
messageArchivePlugin
-
Constructor Summary
Constructors Constructor Description UnifiedArchivePlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
id()
void
process(tigase.server.Packet packet, tigase.xmpp.XMPPResourceConnection session, tigase.db.NonAuthUserRepository nonAuthUserRepository, java.util.Queue<tigase.server.Packet> results, java.util.Map<java.lang.String,java.lang.Object> map)
void
setComponentJid(tigase.xmpp.jid.JID componentJid)
void
setMessageArchivePlugin(tigase.archive.processors.MessageArchivePlugin messageArchivePlugin)
-
Methods inherited from class tigase.xmpp.impl.annotation.AnnotatedXMPPProcessor
supDiscoFeatures, supElementNamePaths, supNamespaces, supStreamFeatures, supTypes
-
Methods inherited from class tigase.xmpp.XMPPProcessor
canHandle, compareTo, concurrentThreadsPerQueue, getComponentInfo, getInstance, getQueueSize, getStatistics, getThreadsNo, init, isSupporting, supElements, toString
-
-
-
-
Field Detail
-
ID
protected static final java.lang.String ID
- See Also:
- Constant Field Values
-
messageArchivePlugin
@Inject protected tigase.archive.processors.MessageArchivePlugin messageArchivePlugin
-
-
Method Detail
-
setMessageArchivePlugin
public void setMessageArchivePlugin(tigase.archive.processors.MessageArchivePlugin messageArchivePlugin)
-
setComponentJid
public void setComponentJid(tigase.xmpp.jid.JID componentJid)
-
id
public java.lang.String id()
- Specified by:
id
in interfacetigase.xmpp.XMPPImplIfc
- Overrides:
id
in classtigase.xmpp.impl.annotation.AnnotatedXMPPProcessor
-
process
public void process(tigase.server.Packet packet, tigase.xmpp.XMPPResourceConnection session, tigase.db.NonAuthUserRepository nonAuthUserRepository, java.util.Queue<tigase.server.Packet> results, java.util.Map<java.lang.String,java.lang.Object> map) throws tigase.xmpp.XMPPException
- Specified by:
process
in interfacetigase.xmpp.XMPPProcessorIfc
- Throws:
tigase.xmpp.XMPPException
-
-