/** * Create and start the plugin context. * * @param discovery the plugin discovery * @return the plugin context */ protected PluginContext start(Map<String, Object> attributes, PluginDiscovery discovery, ClassLoader loader) { PluginContext context = create(attributes, discovery, loader); if (context != null) { context.refresh(); start(context); } return context; }
/** * Create and start the plugin context. * * @param discovery the plugin discovery * @return the plugin context */ protected PluginContext start(Map<String, Object> attributes, PluginDiscovery discovery, ClassLoader loader) { PluginContext context = create(attributes, discovery, loader); if (context != null) { context.refresh(); start(context); } return context; }
/** * Create and start the plugin context. * * @param discovery the plugin discovery * @return the plugin context */ protected PluginContext start(Map<String, Object> attributes, PluginDiscovery discovery, ClassLoader loader) { PluginContext context = create(attributes, discovery, loader); if (context != null) { context.refresh(); start(context); } return context; }