Extending available annotation feature to another custom annotation
I am creating custom Endpoint annotation for webservice to our project framework which is similar to org.springframework.ws.server.endpoint.annotation.Endpoint. I just want to add some extra functionality 开发者_开发百科and give the same feature as defined in spring.
Is there any way to extend the feature of spring Endpoint annotation and add some extra finctioanlity to that? ThanksAccording to the docs, it is possible to implement your own annotation as endpoint by overriding methods from AbstractAnnotationMethodEndpointMapping. If you extend soap endpoint mapping, it should be possible to let it process your annotated element, so you can and modify and return its invocation chain.
精彩评论