|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evolveum.midpoint.provisioning.impl.ChangeNotificationDispatcherImpl
@Component public class ChangeNotificationDispatcherImpl
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 | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChangeNotificationDispatcherImpl()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |