@RestController public class SpringBootSample extends Object
AppConfig
class is used as a configuration class and submitJob()
is mapped to url 'http://host:port/submitJob' using RestController
and
RequestMapping
annotations
Job uses a custom source implementation which has SpringAware
annotation. This enables spring to auto-wire beans to created processors.
Constructor and Description |
---|
SpringBootSample() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
void |
submitJob() |
public static void main(String[] args)
@RequestMapping(value="/submitJob") public void submitJob()
Copyright © 2019 Hazelcast, Inc.. All rights reserved.