com.atlassian.clientpluginsdemorefapp.osgi.ComponentImports Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of atlassian-clientside-extensions-demo Show documentation
Show all versions of atlassian-clientside-extensions-demo Show documentation
Demonstrates how product developers and plugin developers can make use of the Client-side Extensions APIs.
package com.atlassian.clientpluginsdemorefapp.osgi;
import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport;
import com.atlassian.plugin.web.api.DynamicWebInterfaceManager;
import com.atlassian.sal.api.message.I18nResolver;
import com.atlassian.soy.renderer.SoyTemplateRenderer;
/**
* This class is never instantiated, it serves only to cause the necessary OSGi services to be imported as Spring proxy beans.
*/
@SuppressWarnings("unused")
final class ComponentImports {
// Needed by ExtensionPageServlet to translate the title of the `web-page` plugin module
@ComponentImport
private final I18nResolver i18nResolver;
// Needed by ExtensionPageServlet to render the Soy template of the `web-page` plugin module
@ComponentImport
private final SoyTemplateRenderer soyTemplateRenderer;
// Needed by WebItemsToCSEMigrationExample
@ComponentImport
private final DynamicWebInterfaceManager webInterfaceManager;
private ComponentImports() {
throw new UnsupportedOperationException("Not for instantiation");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy