org.objectweb.jonas_ws.deployment.api
Class HandlerDesc

java.lang.Object
  extended byorg.objectweb.jonas_ws.deployment.api.HandlerDesc

public class HandlerDesc
extends java.lang.Object

This class provides methodes to manipulate handler's attributes.

Author:
Guillaume Sauthier, Xavier Delplanque

Constructor Summary
HandlerDesc(java.lang.ClassLoader jarCL, org.objectweb.jonas_ws.deployment.xml.Handler handler)
          Constructor : creates a HandlerDesc object.
 
Method Summary
 java.lang.Class getHandlerClass()
          Return the class of the Handler.
 java.lang.String getInitParam(java.lang.String name)
          Return the value of specified init-param.
 java.util.Hashtable getInitParams()
          Return the table of init-param.
 java.lang.String getName()
          Return the name of the Handler.
 java.util.List getSOAPHeaders()
          Return the list of SOAP Headers the Handler will access.
 java.util.List getSOAPRoles()
          Return the list of roles the Handler will play.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandlerDesc

public HandlerDesc(java.lang.ClassLoader jarCL,
                   org.objectweb.jonas_ws.deployment.xml.Handler handler)
            throws WSDeploymentDescException
Constructor : creates a HandlerDesc object.

Parameters:
jarCL - ejbjar or war classloader.
handler - contains informations defined in webservices deployment descriptor (handler).
Throws:
WSDeploymentDescException - When error occurs.
Method Detail

getSOAPHeaders

public java.util.List getSOAPHeaders()
Return the list of SOAP Headers the Handler will access.

Returns:
the list of SOAP Headers the Handler will access.

getName

public java.lang.String getName()
Return the name of the Handler.

Returns:
the name of the Handler.

getHandlerClass

public java.lang.Class getHandlerClass()
Return the class of the Handler.

Returns:
the class of the Handler.

getInitParams

public java.util.Hashtable getInitParams()
Return the table of init-param.

Returns:
the table of init-param.

getInitParam

public java.lang.String getInitParam(java.lang.String name)
Return the value of specified init-param.

Parameters:
name - The key of init-param map.
Returns:
the value of specified init-param.

getSOAPRoles

public java.util.List getSOAPRoles()
Return the list of roles the Handler will play.

Returns:
the list of roles the Handler will play.