Class Handler
- java.lang.Object
-
- org.apache.openejb.jee.was.v6.common.DescriptionGroup
-
- org.apache.openejb.jee.was.v6.common.CompatibilityDescriptionGroup
-
- org.apache.openejb.jee.was.v6.wsclient.Handler
-
public class Handler extends CompatibilityDescriptionGroup
Declares the handler for a port-component. Handlers can access the init-param name/value pairs using the HandlerInfo interface. If port-name is not specified, the handler is assumed to be associated with all ports of the service. Used in: service-ref Java class for Handler complex type. The following schema fragment specifies the expected content contained within this class.<complexType name="Handler"> <complexContent> <extension base="{common.xmi}CompatibilityDescriptionGroup"> <choice> <choice maxOccurs="unbounded" minOccurs="0"> <element name="soapRoles" type="{http://www.w3.org/2001/XMLSchema}string"/> </choice> <choice maxOccurs="unbounded" minOccurs="0"> <element name="portNames" type="{http://www.w3.org/2001/XMLSchema}string"/> </choice> <choice maxOccurs="unbounded" minOccurs="0"> <element name="handlerClass" type="{java.xmi}JavaClass"/> </choice> <choice maxOccurs="unbounded" minOccurs="0"> <element name="initParams" type="{common.xmi}ParamValue"/> </choice> <choice maxOccurs="unbounded" minOccurs="0"> <element name="soapHeaders" type="{common.xmi}QName"/> </choice> </choice> <attribute name="handlerClass" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="handlerName" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<JavaClass>handlerClassesprotected StringhandlerClassStringprotected StringhandlerNameprotected List<ParamValue>initParamsprotected List<String>portNamesprotected List<QName>soapHeadersprotected List<String>soapRoles-
Fields inherited from class org.apache.openejb.jee.was.v6.common.CompatibilityDescriptionGroup
description, displayName, largeIcon, smallIcon
-
Fields inherited from class org.apache.openejb.jee.was.v6.common.DescriptionGroup
descriptions, displayNames, extensions, href, icons, id, idref, label, type, uuid, version
-
-
Constructor Summary
Constructors Constructor Description Handler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<JavaClass>getHandlerClasses()Gets the value of the handlerClasses property.StringgetHandlerClassString()Gets the value of the handlerClassString property.StringgetHandlerName()Gets the value of the handlerName property.List<ParamValue>getInitParams()Gets the value of the initParams property.List<String>getPortNames()Gets the value of the portNames property.List<QName>getSoapHeaders()Gets the value of the soapHeaders property.List<String>getSoapRoles()Gets the value of the soapRoles property.voidsetHandlerClassString(String value)Sets the value of the handlerClassString property.voidsetHandlerName(String value)Sets the value of the handlerName property.-
Methods inherited from class org.apache.openejb.jee.was.v6.common.CompatibilityDescriptionGroup
getDescription, getDisplayName, getLargeIcon, getSmallIcon, setDescription, setDisplayName, setLargeIcon, setSmallIcon
-
Methods inherited from class org.apache.openejb.jee.was.v6.common.DescriptionGroup
getDescriptions, getDisplayNames, getExtensions, getHref, getIcons, getId, getIdref, getLabel, getType, getUuid, getVersion, setHref, setId, setIdref, setLabel, setType, setUuid, setVersion
-
-
-
-
Field Detail
-
initParams
protected List<ParamValue> initParams
-
handlerClassString
protected String handlerClassString
-
handlerName
protected String handlerName
-
-
Method Detail
-
getSoapRoles
public List<String> getSoapRoles()
Gets the value of the soapRoles property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not asetmethod for the soapRoles property. For example, to add a new item, do as follows:getSoapRoles().add(newItem);
Objects of the following type(s) are allowed in the listString
-
getPortNames
public List<String> getPortNames()
Gets the value of the portNames property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not asetmethod for the portNames property. For example, to add a new item, do as follows:getPortNames().add(newItem);
Objects of the following type(s) are allowed in the listString
-
getHandlerClasses
public List<JavaClass> getHandlerClasses()
Gets the value of the handlerClasses property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not asetmethod for the handlerClasses property. For example, to add a new item, do as follows:getHandlerClasses().add(newItem);
Objects of the following type(s) are allowed in the listJavaClass
-
getInitParams
public List<ParamValue> getInitParams()
Gets the value of the initParams property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not asetmethod for the initParams property. For example, to add a new item, do as follows:getInitParams().add(newItem);
Objects of the following type(s) are allowed in the listParamValue
-
getSoapHeaders
public List<QName> getSoapHeaders()
Gets the value of the soapHeaders property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not asetmethod for the soapHeaders property. For example, to add a new item, do as follows:getSoapHeaders().add(newItem);
Objects of the following type(s) are allowed in the listQName
-
getHandlerClassString
public String getHandlerClassString()
Gets the value of the handlerClassString property.- Returns:
- possible object is
String
-
setHandlerClassString
public void setHandlerClassString(String value)
Sets the value of the handlerClassString property.- Parameters:
value- allowed object isString
-
getHandlerName
public String getHandlerName()
Gets the value of the handlerName property.- Returns:
- possible object is
String
-
-