Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejava
@Service // a Spring Boot Service is one type of Bean
public class ExampleToolAdapter implements IToolAdapter {
   
    @Autowired
    public ExampleToolAdapter(final Environment environment) {
    }

// ... 
}

Implementing IToolAdapter interface requires the creation of various kinds of Tool Adapter Objects (or TAOs). These TAOs represent various kinds of OSLC objects: service providers, components, local configurations.