Package org.uberfire.client.plugin
Class RuntimePluginsServiceProxyClientImpl
- java.lang.Object
-
- org.uberfire.client.plugin.RuntimePluginsServiceProxyClientImpl
-
- All Implemented Interfaces:
RuntimePluginsServiceProxy
@Dependent @Alternative public class RuntimePluginsServiceProxyClientImpl extends Object implements RuntimePluginsServiceProxy
Searches for runtime plugins and frameworks by parsing the directory listing at ${appBase}/plugins/ or ${appBase}/plugins/ respectively. Any<a>tag with an href whose URI ends in .js will qualify as a runtime plugin or framework, and its contents will be fetched with a separate request. Normally, this will be compatible with any web server's built-in directory listing feature. If it isn't, just manually add an index.html file that has links to the .js files you care about.
-
-
Constructor Summary
Constructors Constructor Description RuntimePluginsServiceProxyClientImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgetTemplateContent(String contentUrl, org.uberfire.mvp.ParameterizedCommand<String> command)voidlistFrameworksContent(org.uberfire.mvp.ParameterizedCommand<Collection<String>> command)voidlistPluginsContent(org.uberfire.mvp.ParameterizedCommand<Collection<String>> command)
-
-
-
Method Detail
-
getTemplateContent
public void getTemplateContent(String contentUrl, org.uberfire.mvp.ParameterizedCommand<String> command)
- Specified by:
getTemplateContentin interfaceRuntimePluginsServiceProxy
-
listFrameworksContent
public void listFrameworksContent(org.uberfire.mvp.ParameterizedCommand<Collection<String>> command)
- Specified by:
listFrameworksContentin interfaceRuntimePluginsServiceProxy
-
listPluginsContent
public void listPluginsContent(org.uberfire.mvp.ParameterizedCommand<Collection<String>> command)
- Specified by:
listPluginsContentin interfaceRuntimePluginsServiceProxy
-
-