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 TypeMethodDescriptionvoid
Method called before bean unregister.void
clear()
protected PrivacyList
getPrivacyList
(BareJID userJID) void
handleDomainChange
(String domain, XMPPResourceConnection conn) void
handleLogin
(BareJID userId, XMPPResourceConnection conn) void
handleLogout
(BareJID userId, XMPPResourceConnection conn) void
void
void
Method will be called, when bean will be created, configured and ready to use.boolean
isLocalDomain
(String domain, boolean includeComponents) protected PrivacyList
void
setCacheSize
(int cacheSize) protected void
userConnected
(UserConnectedEvent event)
-
Constructor Details
-
PrivacyListOfflineCache
public PrivacyListOfflineCache()
-
-
Method Details
-
clear
public void clear() -
getComponentId
- Specified by:
getComponentId
in interfaceSessionManagerHandler
-
handleLogin
- Specified by:
handleLogin
in interfaceSessionManagerHandler
-
handleDomainChange
- Specified by:
handleDomainChange
in interfaceSessionManagerHandler
-
handleLogout
- Specified by:
handleLogout
in interfaceSessionManagerHandler
-
handlePresenceSet
- Specified by:
handlePresenceSet
in interfaceSessionManagerHandler
-
handleResourceBind
- Specified by:
handleResourceBind
in interfaceSessionManagerHandler
-
isLocalDomain
- Specified by:
isLocalDomain
in interfaceSessionManagerHandler
-
initialize
public void initialize()Description copied from interface:Initializable
Method will be called, when bean will be created, configured and ready to use.- Specified by:
initialize
in interfaceInitializable
-
beforeUnregister
public void beforeUnregister()Description copied from interface:UnregisterAware
Method called before bean unregister.- Specified by:
beforeUnregister
in interfaceUnregisterAware
-
setCacheSize
public void setCacheSize(int cacheSize) -
userConnected
-
getPrivacyList
-
loadList
-