@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.
|
boolean |
isFilterProtectedObjects() |
void |
notifyChange(ResourceObjectShadowChangeDescription change,
Task task,
OperationResult parentResult)
Submits notification about a specific change that happened on the
resource.
|
void |
notifyEvent(ResourceEventDescription eventDescription,
Task task,
OperationResult parentResult) |
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(ResourceEventListener listener) |
void |
registerNotificationListener(ResourceObjectChangeListener listener) |
void |
registerNotificationListener(ResourceOperationListener listener) |
void |
setFilterProtectedObjects(boolean filterProtectedObjects) |
void |
unregisterNotificationListener(ResourceEventListener listener) |
void |
unregisterNotificationListener(ResourceObjectChangeListener listener) |
void |
unregisterNotificationListener(ResourceOperationListener listener) |
public boolean isFilterProtectedObjects()
public void setFilterProtectedObjects(boolean filterProtectedObjects)
public void registerNotificationListener(ResourceObjectChangeListener listener)
registerNotificationListener
in interface ChangeNotificationDispatcher
public void registerNotificationListener(ResourceOperationListener listener)
registerNotificationListener
in interface ChangeNotificationDispatcher
public void registerNotificationListener(ResourceEventListener listener)
registerNotificationListener
in interface ChangeNotificationDispatcher
public void unregisterNotificationListener(ResourceEventListener listener)
unregisterNotificationListener
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
public void notifyEvent(ResourceEventDescription eventDescription, Task task, OperationResult parentResult) throws SchemaException, CommunicationException, ConfigurationException, SecurityViolationException, ObjectNotFoundException, GenericConnectorException, ObjectAlreadyExistsException
Copyright © 2016 evolveum. All rights reserved.