Class ShadowCleanupActivityHandler
- java.lang.Object
- 
- com.evolveum.midpoint.model.impl.tasks.ModelActivityHandler<WD,SAH>
- 
- com.evolveum.midpoint.model.impl.tasks.simple.SimpleActivityHandler<ShadowType,ShadowCleanupActivityHandler.MyWorkDefinition,ShadowCleanupActivityHandler>
- 
- com.evolveum.midpoint.model.impl.tasks.ShadowCleanupActivityHandler
 
 
 
- 
- All Implemented Interfaces:
- ActivityRunSupplier<ShadowCleanupActivityHandler.MyWorkDefinition,ShadowCleanupActivityHandler>,- CandidateIdentifierFormatter,- ActivityHandler<ShadowCleanupActivityHandler.MyWorkDefinition,ShadowCleanupActivityHandler>
 
 @Component public class ShadowCleanupActivityHandler extends SimpleActivityHandler<ShadowType,ShadowCleanupActivityHandler.MyWorkDefinition,ShadowCleanupActivityHandler> The original idea behind this activity was to treat shadows on (asynchronous) Kafka resources that did not support "read" operation (or did that in a very limited way). So the only way how to know what shadows are really existing was to send regular account update events that would keep "fullSynchronizationTimestamp" up to date. Shadows that were not updated were considered to be dead. However, such an approach is a bit brittle. In particular, if used for a regular resource, it may be possible that such a shadow really exists. Hence, in 4.7 the behavior was changed to call explicit provisioning "getObject" operation instead of simply assuming the shadow is gone. This conflicts with the original use case, and if that should be usable again, the code would need to be improved somehow. TODO Decide on the fate of this activity (MID-8350)- Author:
- skublik
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description classShadowCleanupActivityHandler.MyRunstatic classShadowCleanupActivityHandler.MyWorkDefinition- 
Nested classes/interfaces inherited from class com.evolveum.midpoint.model.impl.tasks.simple.SimpleActivityHandlerSimpleActivityHandler.ExecutionSupplier<O extends ObjectType,WD extends WorkDefinition,SAH extends SimpleActivityHandler<O,WD,SAH>>
 
- 
 - 
Field Summary- 
Fields inherited from class com.evolveum.midpoint.model.impl.tasks.simple.SimpleActivityHandlerclock, clockwork, contextFactory, modelController, modelService, prismContext, provisioningService, repositoryService, scriptingService, securityEnforcer, synchronizationService, syncTaskHelper, workDefinitionFactory
 - 
Fields inherited from class com.evolveum.midpoint.model.impl.tasks.ModelActivityHandlerbeans, commonTaskBeans, handlerRegistry
 
- 
 - 
Constructor SummaryConstructors Constructor Description ShadowCleanupActivityHandler()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDefaultArchetypeOid()Returns task archetype OID connected to this activity handler.protected @NotNull SimpleActivityHandler.ExecutionSupplier<ShadowType,ShadowCleanupActivityHandler.MyWorkDefinition,ShadowCleanupActivityHandler>getExecutionSupplier()StringgetIdentifierPrefix()protected @NotNull StringgetLegacyHandlerUri()protected @NotNull StringgetShortName()protected @NotNull Class<ShadowCleanupActivityHandler.MyWorkDefinition>getWorkDefinitionClass()protected @NotNull WorkDefinitionFactory.WorkDefinitionSuppliergetWorkDefinitionSupplier()protected @NotNull QNamegetWorkDefinitionTypeName()- 
Methods inherited from class com.evolveum.midpoint.model.impl.tasks.simple.SimpleActivityHandlercreateActivityRun, register, unregister
 - 
Methods inherited from class com.evolveum.midpoint.model.impl.tasks.ModelActivityHandlergetModelBeans
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.evolveum.midpoint.repo.common.activity.handlers.ActivityHandlercreateChildActivities, formatCandidateIdentifier, getRootActivityStateDefinition
 
- 
 
- 
- 
- 
Method Detail- 
getWorkDefinitionTypeName@NotNull protected @NotNull QName getWorkDefinitionTypeName() 
 - 
getWorkDefinitionClass@NotNull protected @NotNull Class<ShadowCleanupActivityHandler.MyWorkDefinition> getWorkDefinitionClass() 
 - 
getWorkDefinitionSupplier@NotNull protected @NotNull WorkDefinitionFactory.WorkDefinitionSupplier getWorkDefinitionSupplier() 
 - 
getExecutionSupplier@NotNull protected @NotNull SimpleActivityHandler.ExecutionSupplier<ShadowType,ShadowCleanupActivityHandler.MyWorkDefinition,ShadowCleanupActivityHandler> getExecutionSupplier() 
 - 
getLegacyHandlerUri@NotNull protected @NotNull String getLegacyHandlerUri() 
 - 
getDefaultArchetypeOidpublic String getDefaultArchetypeOid() Description copied from interface:ActivityHandlerReturns task archetype OID connected to this activity handler. When a generic task starts, it is given an archetype based on the activity handler for the task's main activity. (If not set before.)
 - 
getShortName@NotNull protected @NotNull String getShortName() - Specified by:
- getShortNamein class- SimpleActivityHandler<ShadowType,ShadowCleanupActivityHandler.MyWorkDefinition,ShadowCleanupActivityHandler>
 
 - 
getIdentifierPrefixpublic String getIdentifierPrefix() 
 
- 
 
-