Class 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 Detail

      • HandlerAnnotationInfo

        public HandlerAnnotationInfo()
    • 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.
      • setRoles

        public void setRoles​(Set<String> roles)
        This method should only be called by HandlerAnnotationProcessor.
        Parameters:
        roles - The roles contained in the handler chain descriptor.