@PostConstruct public void init() { FS commandFileSystem = createFileSystem( this.properties.getCommandPathPatterns(), this.properties.getDisabledCommands()); FS configurationFileSystem = createFileSystem(this.properties.getConfigPathPatterns(), new String[0]); PluginDiscovery discovery = new BeanFactoryFilteringPluginDiscovery( this.resourceLoader.getClassLoader(), this.beanFactory, this.properties.getDisabledPlugins()); PluginContext context = new PluginContext( discovery, createPluginContextAttributes(), commandFileSystem, configurationFileSystem, this.resourceLoader.getClassLoader()); context.refresh(); start(context); }