Interface ActionBaseClassProvider


public interface ActionBaseClassProvider
SPI interface for registering base classes that support the Action annotation.

The ActionAnnotationProcessor uses ServiceLoader to discover implementations of this interface at compile time. Each implementation provides the fully qualified name of a base class whose subclasses are allowed to use @Action.

Usage

  1. Implement this interface in your library
  2. Register it in META-INF/services/com.scivicslab.pojoactor.core.ActionBaseClassProvider

Example


 public class IIActorRefProvider implements ActionBaseClassProvider {
     @Override
     public String getBaseClassName() {
         return "com.scivicslab.turingworkflow.workflow.IIActorRef";
     }
 }
 
Since:
3.0.0
Author:
devteam@scivicslab.com
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the fully qualified class name of a base class whose subclasses are allowed to use the Action annotation.
  • Method Details

    • getBaseClassName

      String getBaseClassName()
      Returns the fully qualified class name of a base class whose subclasses are allowed to use the Action annotation.
      Returns:
      the fully qualified class name