Skip to content
Fetching latest commit…
Cannot retrieve the latest commit at this time.
..
Failed to load latest commit information.
src/main/java/org/joint/tooling
README.md
pom.xml

README.md

ServiceExporter

The tooling module contains an annotation pre-processor which can export any service implementation to META-INF/services at compile time. To use it you need to annotate your class with @Export and provide a list of classes (service interfaces) it implements.

Example

@Export({DictionarySpi.class})
public class DictionaryService implements DictionarySpi {
...
}

would generate a file called META-INF/services/com.mycompany.DictionarySpi with the content com.mycompany.DictionaryService

This works independently of Joint and can used by exporting the org.joint.tooling.ServiceExporter inside a file called META-INF/services/javax.annotation.processing.Processor or using the jvm -processor flag with the tooling.jar on the classpath.

Something went wrong with that request. Please try again.