-
Task
-
Resolution: Done
-
Major
-
None
-
None
The deployers for EJB, EJB3, WAR have been modified to use inlined xmbean desriptors that allow for deployment interceptors. The WebServiceInterceptor delegates to the appropriate WS endpoint deployer to do the additional work to get the endpoint up and running.
With JSR181 a WS endpoint may be annotated with @WebService for that I need to read the annotation from the endpoint implementation class. Currently, this is done by loading the endpoint class and inspecting the annotations on java.lang.Class
With java service endpoints (JSE) the web app context classloader only becomes available after the web app has started. This is too late.
I can see two solutions to the problem:
1. the annotations are obtained from the *.class file without loading the class
2. the classloader is made available during the create step
Generally, at what point of the deployment lifecycle should annotation meta data be available?