Package com.sun.xml.ws.util
Class HandlerAnnotationInfo
- java.lang.Object
-
- com.sun.xml.ws.util.HandlerAnnotationInfo
-
public class HandlerAnnotationInfo extends Object
Used to hold a list of handlers and a set of roles from an annotated endpoint. At runtime, these are created by the HandlerAnnotationProcessor at the request of client and server code to create the handler chains.- Author:
- JAX-WS Development Team
- See Also:
HandlerAnnotationProcessor
-
-
Constructor Summary
Constructors Constructor Description HandlerAnnotationInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<jakarta.xml.ws.handler.Handler>getHandlers()Return the handlers specified by the handler chain descriptor.Set<String>getRoles()Return the roles contained in the handler chain descriptor.voidsetHandlers(List<jakarta.xml.ws.handler.Handler> handlers)This method should only be called by HandlerAnnotationProcessor.voidsetRoles(Set<String> roles)This method should only be called by HandlerAnnotationProcessor.
-
-
-
Method Detail
-
getHandlers
public List<jakarta.xml.ws.handler.Handler> getHandlers()
Return the handlers specified by the handler chain descriptor.- Returns:
- A list of jax-ws handler objects.
-
setHandlers
public void setHandlers(List<jakarta.xml.ws.handler.Handler> handlers)
This method should only be called by HandlerAnnotationProcessor.- Parameters:
handlers- The handlers specified by the handler chain descriptor.
-
getRoles
public Set<String> getRoles()
Return the roles contained in the handler chain descriptor.- Returns:
- A set of roles.
-
-