Package com.scivicslab.pojoactor.core
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
- Implement this interface in your library
- 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 TypeMethodDescriptionReturns the fully qualified class name of a base class whose subclasses are allowed to use theActionannotation.