Class ExpressionFactory
- java.lang.Object
-
- com.evolveum.midpoint.repo.common.expression.ExpressionFactory
-
-
Constructor Summary
Constructors Constructor Description ExpressionFactory(SecurityContextManager securityContextManager, PrismContext prismContext, LocalizationService localizationService)
-
Method Summary
-
-
-
Constructor Detail
-
ExpressionFactory
public ExpressionFactory(SecurityContextManager securityContextManager, PrismContext prismContext, LocalizationService localizationService)
-
-
Method Detail
-
register
@PostConstruct public void register()
-
unregister
@PreDestroy public void unregister()
-
setObjectResolver
public void setObjectResolver(ObjectResolver objectResolver)
-
getPrismContext
public PrismContext getPrismContext()
-
getLocalizationService
public LocalizationService getLocalizationService()
-
makeExpression
public <V extends PrismValue,D extends ItemDefinition> Expression<V,D> makeExpression(ExpressionType expressionType, D outputDefinition, ExpressionProfile expressionProfile, String shortDesc, Task task, OperationResult result) throws SchemaException, ObjectNotFoundException, SecurityViolationException
-
makePropertyExpression
public <T> Expression<PrismPropertyValue<T>,PrismPropertyDefinition<T>> makePropertyExpression(ExpressionType expressionType, QName outputPropertyName, ExpressionProfile expressionProfile, String shortDesc, Task task, OperationResult result) throws SchemaException, ObjectNotFoundException, SecurityViolationException
-
getEvaluatorFactory
public ExpressionEvaluatorFactory getEvaluatorFactory(QName elementName)
-
registerEvaluatorFactory
public void registerEvaluatorFactory(ExpressionEvaluatorFactory factory)
-
getDefaultEvaluatorFactory
public ExpressionEvaluatorFactory getDefaultEvaluatorFactory()
-
setDefaultEvaluatorFactory
public void setDefaultEvaluatorFactory(ExpressionEvaluatorFactory defaultEvaluatorFactory)
-
invalidate
public void invalidate(Class<?> type, String oid, CacheInvalidationContext context)
- Specified by:
invalidate
in interfaceCache
-
getStateInformation
@NotNull public @NotNull Collection<SingleCacheStateInformationType> getStateInformation()
- Specified by:
getStateInformation
in interfaceCache
-
dumpContent
public void dumpContent()
- Specified by:
dumpContent
in interfaceCache
-
-