public interface AppPlugin
A implementation of this SPI publishes
Plugin developers should not use this interface directly but use AbstractAppPlugin as a base class.
| Modifier and Type | Method and Description |
|---|---|
String |
getAssetDirectory()
Returns a uri to a plugin resources directory.
|
String |
getId()
Returns the unique id of this plugin.
|
Set<Class<?>> |
getResourceClasses()
Returns a set of JAX-RS resource classes that extend the rest API.
|
List<PluginResourceOverride> |
getResourceOverrides()
Allows providing a list of
resource overrides. |
String getId()
Set<Class<?>> getResourceClasses()
Typically, a plugin publishes its API via a subclass of AbstractPluginRootResource.
String getAssetDirectory()
List<PluginResourceOverride> getResourceOverrides()
resource overrides. Resource overrides allow
to conditionally override the static resources provided by other plugins.PluginResourceOverride implementations.Copyright © 2021. All rights reserved.