@Service(value="synchronizationService") public class SynchronizationServiceImpl extends Object implements SynchronizationService
CHECK_SITUATION, CLASS_NAME_WITH_DOT, NOTIFY_CHANGE
Constructor and Description |
---|
SynchronizationServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectSynchronizationType |
determineSynchronizationPolicy(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType,
PrismObject<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> currentShadow,
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.SystemConfigurationType> configuration,
Task task,
OperationResult result) |
String |
getName()
Returns a short name of the listener for debugging purposes.
|
protected PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> |
getShadowFromChange(ResourceObjectShadowChangeDescription change) |
<F extends com.evolveum.midpoint.xml.ns._public.common.common_3.FocusType> |
matchUserCorrelationRule(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow,
PrismObject<F> focus,
com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType,
PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.SystemConfigurationType> configuration,
Task task,
OperationResult result)
Tries to match specified focus and shadow.
|
void |
notifyChange(ResourceObjectShadowChangeDescription change,
Task task,
OperationResult parentResult)
Submits notification about a specific change that happened on the
resource.
|
public void notifyChange(ResourceObjectShadowChangeDescription change, Task task, OperationResult parentResult)
ResourceObjectChangeListener
notifyChange
in interface ResourceObjectChangeListener
change
- change descriptionpublic com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectSynchronizationType determineSynchronizationPolicy(com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType, PrismObject<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> currentShadow, PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.SystemConfigurationType> configuration, Task task, OperationResult result) throws SchemaException, ObjectNotFoundException, ExpressionEvaluationException
determineSynchronizationPolicy
in interface SynchronizationService
SchemaException
ObjectNotFoundException
ExpressionEvaluationException
public <F extends com.evolveum.midpoint.xml.ns._public.common.common_3.FocusType> boolean matchUserCorrelationRule(PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> shadow, PrismObject<F> focus, com.evolveum.midpoint.xml.ns._public.common.common_3.ResourceType resourceType, PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.SystemConfigurationType> configuration, Task task, OperationResult result) throws ConfigurationException, SchemaException, ObjectNotFoundException, ExpressionEvaluationException
matchUserCorrelationRule
in interface SynchronizationService
ConfigurationException
SchemaException
ObjectNotFoundException
ExpressionEvaluationException
protected PrismObject<com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType> getShadowFromChange(ResourceObjectShadowChangeDescription change)
public String getName()
ProvisioningListener
getName
in interface ProvisioningListener
Copyright © 2016 evolveum. All rights reserved.