Package tigase.xmpp.impl
Class JabberIqPrivacy.PrivacyListOfflineCache
java.lang.Object
tigase.xmpp.impl.JabberIqPrivacy.PrivacyListOfflineCache
- All Implemented Interfaces:
Initializable,UnregisterAware,SessionManagerHandler
- Enclosing class:
JabberIqPrivacy
@Bean(name="privacyListOfflineCache",
parent=JabberIqPrivacy.class,
active=false)
public static class JabberIqPrivacy.PrivacyListOfflineCache
extends Object
implements SessionManagerHandler, Initializable, UnregisterAware
-
Field Summary
Fields inherited from interface tigase.server.xmppsession.SessionManagerHandler
COMMIT_HANDLER_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMethod called before bean unregister.voidclear()protected PrivacyListgetPrivacyList(BareJID userJID) voidhandleDomainChange(String domain, XMPPResourceConnection conn) voidhandleLogin(BareJID userId, XMPPResourceConnection conn) voidhandleLogout(BareJID userId, XMPPResourceConnection conn) voidvoidvoidMethod will be called, when bean will be created, configured and ready to use.booleanisLocalDomain(String domain, boolean includeComponents) protected PrivacyListvoidsetCacheSize(int cacheSize) protected voiduserConnected(UserConnectedEvent event)
-
Constructor Details
-
PrivacyListOfflineCache
public PrivacyListOfflineCache()
-
-
Method Details
-
clear
public void clear() -
getComponentId
- Specified by:
getComponentIdin interfaceSessionManagerHandler
-
handleLogin
- Specified by:
handleLoginin interfaceSessionManagerHandler
-
handleDomainChange
- Specified by:
handleDomainChangein interfaceSessionManagerHandler
-
handleLogout
- Specified by:
handleLogoutin interfaceSessionManagerHandler
-
handlePresenceSet
- Specified by:
handlePresenceSetin interfaceSessionManagerHandler
-
handleResourceBind
- Specified by:
handleResourceBindin interfaceSessionManagerHandler
-
isLocalDomain
- Specified by:
isLocalDomainin interfaceSessionManagerHandler
-
initialize
public void initialize()Description copied from interface:InitializableMethod will be called, when bean will be created, configured and ready to use.- Specified by:
initializein interfaceInitializable
-
beforeUnregister
public void beforeUnregister()Description copied from interface:UnregisterAwareMethod called before bean unregister.- Specified by:
beforeUnregisterin interfaceUnregisterAware
-
setCacheSize
public void setCacheSize(int cacheSize) -
userConnected
-
getPrivacyList
-
loadList
-