@Component public class AccountOperationListener extends Object implements ResourceOperationListener
Constructor and Description |
---|
AccountOperationListener() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns a short name of the listener for debugging purposes.
|
void |
init() |
void |
notifyFailure(ResourceOperationDescription operationDescription,
Task task,
OperationResult parentResult)
Submits notification about a failure of provisioning operation.
|
void |
notifyInProgress(ResourceOperationDescription operationDescription,
Task task,
OperationResult parentResult)
Submits notification about provisioning operation that is in progress.
|
void |
notifySuccess(ResourceOperationDescription operationDescription,
Task task,
OperationResult parentResult)
Submits notification about a success of a provisioning operation.
|
@PostConstruct public void init()
public String getName()
ProvisioningListener
getName
in interface ProvisioningListener
public void notifySuccess(ResourceOperationDescription operationDescription, 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 operationDescription, 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 void notifyFailure(ResourceOperationDescription operationDescription, 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.Copyright © 2016 evolveum. All rights reserved.