com.sun.xml.ws.util
Class HandlerAnnotationInfo

java.lang.Object
  extended by com.sun.xml.ws.util.HandlerAnnotationInfo

public class HandlerAnnotationInfo
extends java.lang.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.

See Also:
HandlerAnnotationProcessor

Constructor Summary
HandlerAnnotationInfo()
           
 
Method Summary
 java.util.List<Handler> getHandlers()
          Return the handlers specified by the handler chain descriptor.
 java.util.Set<java.lang.String> getRoles()
          Return the roles contained in the handler chain descriptor.
 void setHandlers(java.util.List<Handler> handlers)
          This method should only be called by HandlerAnnotationProcessor.
 void setRoles(java.util.Set<java.lang.String> roles)
          This method should only be called by HandlerAnnotationProcessor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandlerAnnotationInfo

public HandlerAnnotationInfo()
Method Detail

getHandlers

public java.util.List<Handler> getHandlers()
Return the handlers specified by the handler chain descriptor.

Returns:
A list of jax-ws handler objects.

setHandlers

public void setHandlers(java.util.List<Handler> handlers)
This method should only be called by HandlerAnnotationProcessor.

Parameters:
handlers - The handlers specified by the handler chain descriptor.

getRoles

public java.util.Set<java.lang.String> getRoles()
Return the roles contained in the handler chain descriptor.

Returns:
A set of roles.

setRoles

public void setRoles(java.util.Set<java.lang.String> roles)
This method should only be called by HandlerAnnotationProcessor.

Parameters:
roles - The roles contained in the handler chain descriptor.


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.