@Component public class ChangeNotificationDispatcherImpl extends Object implements ChangeNotificationDispatcher
CHECK_SITUATION, CLASS_NAME_WITH_DOT, NOTIFY_CHANGE
Constructor and Description |
---|
ChangeNotificationDispatcherImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns a short name of the listener for debugging purposes.
|
void |
notifyChange(ResourceObjectShadowChangeDescription change,
Task task,
OperationResult parentResult)
Submits notification about a specific change that happened on the
resource.
|
void |
notifyFailure(ResourceOperationDescription failureDescription,
Task task,
OperationResult parentResult)
Submits notification about a failure of provisioning operation.
|
void |
notifyInProgress(ResourceOperationDescription failureDescription,
Task task,
OperationResult parentResult)
Submits notification about provisioning operation that is in progress.
|
void |
notifySuccess(ResourceOperationDescription failureDescription,
Task task,
OperationResult parentResult)
Submits notification about a success of a provisioning operation.
|
void |
registerNotificationListener(ResourceObjectChangeListener listener) |
void |
registerNotificationListener(ResourceOperationListener listener) |
void |
unregisterNotificationListener(ResourceObjectChangeListener listener) |
void |
unregisterNotificationListener(ResourceOperationListener listener) |
public void registerNotificationListener(ResourceObjectChangeListener listener)
registerNotificationListener
in interface ChangeNotificationDispatcher
public void registerNotificationListener(ResourceOperationListener listener)
registerNotificationListener
in interface ChangeNotificationDispatcher
public void unregisterNotificationListener(ResourceOperationListener listener)
unregisterNotificationListener
in interface ChangeNotificationDispatcher
public void unregisterNotificationListener(ResourceObjectChangeListener listener)
unregisterNotificationListener
in interface ChangeNotificationDispatcher
public void notifyChange(ResourceObjectShadowChangeDescription change, Task task, OperationResult parentResult)
ResourceObjectChangeListener
notifyChange
in interface ResourceObjectChangeListener
change
- change descriptionpublic void notifyFailure(ResourceOperationDescription failureDescription, Task task, OperationResult parentResult)
ResourceOperationListener
notifyFailure
in interface ResourceOperationListener
parentResult
- the result that can be used to collect subresults of the listener execution.
It is NOT the result of the operation that failed. That result is inside the
operationDescription structure.public void notifySuccess(ResourceOperationDescription failureDescription, Task task, OperationResult parentResult)
ResourceOperationListener
notifySuccess
in interface ResourceOperationListener
parentResult
- the result that can be used to collect subresults of the listener execution.
It is NOT the result of the operation that succeeded. That result is inside the
operationDescription structure.public void notifyInProgress(ResourceOperationDescription failureDescription, Task task, OperationResult parentResult)
ResourceOperationListener
notifyInProgress
in interface ResourceOperationListener
parentResult
- the result that can be used to collect subresults of the listener execution.
It is NOT the result of the operation that is in progress. That result is inside the
operationDescription structure.public String getName()
ProvisioningListener
getName
in interface ProvisioningListener
Copyright © 2013 evolveum. All rights reserved.