@EnableAutoConfiguration @Configuration public class SampleSpringBootService extends Object
Constructor and Description |
---|
SampleSpringBootService() |
Modifier and Type | Method and Description |
---|---|
io.hawt.config.ConfigFacade |
configFacade()
Set things up to be in offline mode
|
static void |
main(String[] args) |
PluginService |
pluginService()
Register rest endpoint to handle requests for /plugin, and return all registered plugins.
|
HawtPlugin |
samplePlugin()
Loading an example plugin
|
public static void main(String[] args)
@Bean public HawtPlugin samplePlugin()
@Bean public io.hawt.config.ConfigFacade configFacade() throws Exception
Exception
@Bean public PluginService pluginService()
Copyright © 2019 JBoss by Red Hat. All rights reserved.