Class TLcdServiceAnnotationProcessor

java.lang.Object
javax.annotation.processing.AbstractProcessor
com.luciad.util.service.TLcdServiceAnnotationProcessor
All Implemented Interfaces:
Processor

@SupportedAnnotationTypes("com.luciad.util.service.LcdService") public class TLcdServiceAnnotationProcessor extends AbstractProcessor

Processes LcdService annotations at compile time. It retrieves the service, and writes it away in the META-INF/services directory. Services and their priority can be queried at runtime using TLcdServiceLoader.

Enabling annotation processing

Depending on your JDK version and IDE, you may need to enable annotation processing.

javac

Pass -processor com.luciad.util.service.TLcdServiceAnnotationProcessor to the javac invocation.

Maven

Include <annotationProcessors>com.luciad.util.service.TLcdServiceAnnotationProcessor</annotationProcessors> in your maven-compiler-plugin's configuration section.

IntelliJ and other IDE's

Check the appropriate checkbox in the Annotation processors section of the Java compiler settings. Depending on the IDE you may also need to point to this class.
Since:
2013.0