Details
-
Type:
Feature Request
-
Status: Open (View Workflow)
-
Priority:
Critical
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Core
-
Labels:None
-
Affects:Documentation (Ref Guide, User Guide, etc.)
-
Estimated Difficulty:Medium
Description
The current design of the service handler configuration prevents modules from being able to deliver a service annotation in the api since it requires a direct reference to the implementation class.
@ServiceHandler(MyServiceHandler.class)
Switch to either a string or adopt the annotation binding concept from CDI (like interceptors)
Also, support the use of the service handler annotation on stereotypes.
I really like the idea of using the binding annotations for service handlers...that makes them just like interceptor bindings, so that should be easier for people to understand in the long run.