Search in sources :

Example 1 with InternalPluginStateResolver

use of com.qcadoo.plugin.internal.stateresolver.InternalPluginStateResolver in project qcadoo by qcadoo.

the class IntegrationTest method resetPluginUtils.

private void resetPluginUtils() {
    InternalPluginStateResolver pluginStateResolver = new DefaultPluginStateResolver();
    pluginStateResolver.setPluginAccessor(applicationContext.getBean(PluginAccessor.class));
    PluginUtilsService pluginUtil = new PluginUtilsService(pluginStateResolver);
    pluginUtil.init();
}
Also used : PluginAccessor(com.qcadoo.plugin.api.PluginAccessor) PluginUtilsService(com.qcadoo.plugin.internal.PluginUtilsService) DefaultPluginStateResolver(com.qcadoo.plugin.internal.stateresolver.DefaultPluginStateResolver) InternalPluginStateResolver(com.qcadoo.plugin.internal.stateresolver.InternalPluginStateResolver)

Aggregations

PluginAccessor (com.qcadoo.plugin.api.PluginAccessor)1 PluginUtilsService (com.qcadoo.plugin.internal.PluginUtilsService)1 DefaultPluginStateResolver (com.qcadoo.plugin.internal.stateresolver.DefaultPluginStateResolver)1 InternalPluginStateResolver (com.qcadoo.plugin.internal.stateresolver.InternalPluginStateResolver)1