Class ServiceRef
- 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.ServiceRef
-
public class ServiceRef extends CompatibilityDescriptionGroup
The service-ref element declares a reference to a Web service. It contains optional description, display name and icons, a declaration of the required Service interface, an optional WSDL document location, an optional set of JAX-RPC mappings, an optional QName for the service element, an optional set of Service Endpoint Interfaces to be resolved by the container to a WSDL port, and an optional set of handlers. Java class for ServiceRef complex type. The following schema fragment specifies the expected content contained within this class.<complexType name="ServiceRef"> <complexContent> <extension base="{common.xmi}CompatibilityDescriptionGroup"> <choice> <choice maxOccurs="unbounded" minOccurs="0"> <element name="serviceInterface" type="{java.xmi}JavaClass"/> </choice> <choice maxOccurs="unbounded" minOccurs="0"> <element name="portComponentRefs" type="{webservice_client.xmi}PortComponentRef"/> </choice> <choice maxOccurs="unbounded" minOccurs="0"> <element name="handlers" type="{webservice_client.xmi}Handler"/> </choice> <choice maxOccurs="unbounded" minOccurs="0"> <element name="serviceQname" type="{common.xmi}QName"/> </choice> </choice> <attribute name="jaxrpcMappingFile" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="serviceInterface" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="serviceRefName" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="wsdlFile" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Handler>handlersprotected StringjaxrpcMappingFileprotected List<PortComponentRef>portComponentRefsprotected List<JavaClass>serviceInterfacesprotected StringserviceInterfaceStringprotected List<QName>serviceQnamesprotected StringserviceRefNameprotected StringwsdlFile-
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 ServiceRef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Handler>getHandlers()Gets the value of the handlers property.StringgetJaxrpcMappingFile()Gets the value of the jaxrpcMappingFile property.List<PortComponentRef>getPortComponentRefs()Gets the value of the portComponentRefs property.List<JavaClass>getServiceInterfaces()Gets the value of the serviceInterfaces property.StringgetServiceInterfaceString()Gets the value of the serviceInterfaceString property.List<QName>getServiceQnames()Gets the value of the serviceQnames property.StringgetServiceRefName()Gets the value of the serviceRefName property.StringgetWsdlFile()Gets the value of the wsdlFile property.voidsetJaxrpcMappingFile(String value)Sets the value of the jaxrpcMappingFile property.voidsetServiceInterfaceString(String value)Sets the value of the serviceInterfaceString property.voidsetServiceRefName(String value)Sets the value of the serviceRefName property.voidsetWsdlFile(String value)Sets the value of the wsdlFile 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
-
-
-
-
Method Detail
-
getServiceInterfaces
public List<JavaClass> getServiceInterfaces()
Gets the value of the serviceInterfaces 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 serviceInterfaces property. For example, to add a new item, do as follows:getServiceInterfaces().add(newItem);
Objects of the following type(s) are allowed in the listJavaClass
-
getPortComponentRefs
public List<PortComponentRef> getPortComponentRefs()
Gets the value of the portComponentRefs 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 portComponentRefs property. For example, to add a new item, do as follows:getPortComponentRefs().add(newItem);
Objects of the following type(s) are allowed in the listPortComponentRef
-
getHandlers
public List<Handler> getHandlers()
Gets the value of the handlers 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 handlers property. For example, to add a new item, do as follows:getHandlers().add(newItem);
Objects of the following type(s) are allowed in the listHandler
-
getServiceQnames
public List<QName> getServiceQnames()
Gets the value of the serviceQnames 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 serviceQnames property. For example, to add a new item, do as follows:getServiceQnames().add(newItem);
Objects of the following type(s) are allowed in the listQName
-
getJaxrpcMappingFile
public String getJaxrpcMappingFile()
Gets the value of the jaxrpcMappingFile property.- Returns:
- possible object is
String
-
setJaxrpcMappingFile
public void setJaxrpcMappingFile(String value)
Sets the value of the jaxrpcMappingFile property.- Parameters:
value- allowed object isString
-
getServiceInterfaceString
public String getServiceInterfaceString()
Gets the value of the serviceInterfaceString property.- Returns:
- possible object is
String
-
setServiceInterfaceString
public void setServiceInterfaceString(String value)
Sets the value of the serviceInterfaceString property.- Parameters:
value- allowed object isString
-
getServiceRefName
public String getServiceRefName()
Gets the value of the serviceRefName property.- Returns:
- possible object is
String
-
setServiceRefName
public void setServiceRefName(String value)
Sets the value of the serviceRefName property.- Parameters:
value- allowed object isString
-
getWsdlFile
public String getWsdlFile()
Gets the value of the wsdlFile property.- Returns:
- possible object is
String
-
-