Search in sources :

Example 1 with TransportSupport

use of com.evolveum.midpoint.notifications.api.transports.TransportSupport in project midpoint by Evolveum.

the class TransportServiceImpl method init.

@PostConstruct
public void init() {
    transportSupport = new TransportSupport() {

        @Override
        public PrismContext prismContext() {
            return prismContext;
        }

        @Override
        public ExpressionFactory expressionFactory() {
            return expressionFactory;
        }

        @Override
        public RepositoryService repositoryService() {
            return repositoryService;
        }

        @Override
        public Protector protector() {
            return protector;
        }

        @Override
        public ApplicationContext applicationContext() {
            return applicationContext;
        }
    };
    registerLegacyTransports();
}
Also used : ApplicationContext(org.springframework.context.ApplicationContext) ExpressionFactory(com.evolveum.midpoint.repo.common.expression.ExpressionFactory) PrismContext(com.evolveum.midpoint.prism.PrismContext) TransportSupport(com.evolveum.midpoint.notifications.api.transports.TransportSupport) Protector(com.evolveum.midpoint.prism.crypto.Protector) RepositoryService(com.evolveum.midpoint.repo.api.RepositoryService) PostConstruct(javax.annotation.PostConstruct)

Aggregations

TransportSupport (com.evolveum.midpoint.notifications.api.transports.TransportSupport)1 PrismContext (com.evolveum.midpoint.prism.PrismContext)1 Protector (com.evolveum.midpoint.prism.crypto.Protector)1 RepositoryService (com.evolveum.midpoint.repo.api.RepositoryService)1 ExpressionFactory (com.evolveum.midpoint.repo.common.expression.ExpressionFactory)1 PostConstruct (javax.annotation.PostConstruct)1 ApplicationContext (org.springframework.context.ApplicationContext)1