본문 바로가기

OpenFire/server

[Cache] PropertyEventDispatcher key list.



PropertyEventListener Key Const Method to register for events
Package Class Name
provider.auth.className -  
org.jivesoftware.admin AdminConsole propertySet
org.jivesoftware.openfire.auth AuthFactory propertySet
provider.admin.className -  
org.jivesoftware.openfire.admin AdminManager propertySet
clustering.enabled ClusterManager.CLUSTER_PROPERTY_NAME  
org.jivesoftware.openfire.cluster ClusterManager xmlPropertySet
admin.authorizedJIDs -  
org.jivesoftware.openfire.admin DefaultAdminProvider propertySet, propertyDeleted
provider.group.className -  
org.jivesoftware.openfire.group GroupManager propertySet
provider.lockout.className -  
org.jivesoftware.openfire.lockout LockOutManager propertySet
xmpp.component.socket.active -  
org.jivesoftware.openfire.net MulticastDNSService propertySet, propertyDeleted
xmpp.component.socket.port -  
org.jivesoftware.openfire.net MulticastDNSService propertySet, propertyDeleted
provider.roster.className -  
org.jivesoftware.openfire.roster RosterManager propertySet
provider.securityAudit.className -  
org.jivesoftware.openfire.security SecurityAuditManager propertySet
provider.user.className -  
org.jivesoftware.openfire.user UserManager propertySet
org.jivesoftware.openfire.vcard -  
provider.vcard.className VCardManager propertySet


ㅁ 구현

ex) RosterManager

    


    


    


ㅁ Breakpoint

 - 이벤트 등록 : PropertyEventDispatcher.addListener

    


 - 이벤트 호출 : PropertyEventDispatcher.dispatchEvent

    


ㅁ 호출 예