The primary task when creating a genOSLC integration is to provide an implementation for the IToolAdapter java interface. An example implementation is provided see genOSLC Example Application for more details.
The implementation of the IToolAdapter must be a Spring Boot Bean.
For example:
Code Block | ||
---|---|---|
| ||
@Service // a Spring Boot Service is one type of Bean
public class ExampleToolAdapter implements IToolAdapter {
@Autowired
public ExampleToolAdapter(final Environment environment) {
}
// ...
} |