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
-
setObjectResolver
public void setObjectResolver(ObjectResolver objectResolver)
-
getPrismContext
public PrismContext getPrismContext()
-
getLocalizationService
public LocalizationService getLocalizationService()
-
setCacheRegistry
public void setCacheRegistry(CacheRegistry cacheRegistry)
-
register
@PostConstruct public void register()
-
unregister
@PreDestroy public void unregister()
-
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 interfaceCacheable
-
getStateInformation
@NotNull public @NotNull Collection<SingleCacheStateInformationType> getStateInformation()
- Specified by:
getStateInformation
in interfaceCacheable
-
-