com.evolveum.midpoint.provisioning.impl
Class ChangeNotificationDispatcherImpl

java.lang.Object
  extended by com.evolveum.midpoint.provisioning.impl.ChangeNotificationDispatcherImpl
All Implemented Interfaces:
ChangeNotificationDispatcher, ResourceObjectChangeListener

@Component
public class ChangeNotificationDispatcherImpl
extends java.lang.Object
implements ChangeNotificationDispatcher

Author:
Radovan Semancik

Field Summary
 
Fields inherited from interface com.evolveum.midpoint.provisioning.api.ResourceObjectChangeListener
CHECK_SITUATION, CLASS_NAME_WITH_DOT, NOTIFY_CHANGE
 
Constructor Summary
ChangeNotificationDispatcherImpl()
           
 
Method Summary
 void notifyChange(ResourceObjectShadowChangeDescriptionType change, OperationResult parentResult)
          Submits notification about a specific change that happened on the resource.
 void registerNotificationListener(ResourceObjectChangeListener listener)
           
 void unregisterNotificationListener(ResourceObjectChangeListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeNotificationDispatcherImpl

public ChangeNotificationDispatcherImpl()
Method Detail

registerNotificationListener

public void registerNotificationListener(ResourceObjectChangeListener listener)
Specified by:
registerNotificationListener in interface ChangeNotificationDispatcher

unregisterNotificationListener

public void unregisterNotificationListener(ResourceObjectChangeListener listener)
Specified by:
unregisterNotificationListener in interface ChangeNotificationDispatcher

notifyChange

public void notifyChange(ResourceObjectShadowChangeDescriptionType change,
                         OperationResult parentResult)
Description copied from interface: ResourceObjectChangeListener
Submits notification about a specific change that happened on the resource. The call should return without a major delay. It means that the implementation can do calls to repository, but it should not (synchronously) initiate a long-running process or provisioning request. This operation may be called multiple times with the same change, e.g. in case of failures in IDM or on the resource. The implementation must be able to handle such duplicates.

Specified by:
notifyChange in interface ResourceObjectChangeListener
Parameters:
change - change description


Copyright © 2011 evolveum. All Rights Reserved.