Class ServiceRefType
java.lang.Object
org.apache.axis2.jaxws.description.xml.handler.ServiceRefType
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 service-refType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="service-refType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
<element name="service-ref-name" type="{http://java.sun.com/xml/ns/javaee}jndi-nameType"/>
<element name="service-interface" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
<element name="service-ref-type" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"
minOccurs="0"/>
<element name="wsdl-file" type="{http://java.sun.com/xml/ns/javaee}xsdAnyURIType"
minOccurs="0"/>
<element name="jaxrpc-mapping-file" type="{http://java.sun.com/xml/ns/javaee}pathType"
minOccurs="0"/>
<element name="service-qname" type="{http://java.sun.com/xml/ns/javaee}xsdQNameType"
minOccurs="0"/>
<element name="port-component-ref" type="{http://java.sun.com/xml/ns/javaee}port-component-refType"
maxOccurs="unbounded" minOccurs="0"/>
<choice>
<element name="handler" type="{http://java.sun.com/xml/ns/javaee}service-ref_handlerType"
maxOccurs="unbounded" minOccurs="0"/>
<element name="handler-chains" type="{http://java.sun.com/xml/ns/javaee}service-ref_handler-chainsType"
minOccurs="0"/>
</choice>
<group ref="{http://java.sun.com/xml/ns/javaee}resourceGroup"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<DescriptionType>protected List<DisplayNameType>protected List<ServiceRefHandlerType>protected ServiceRefHandlerChainsTypeprotected Stringprotected List<InjectionTargetType>protected PathTypeprotected XsdStringTypeprotected List<PortComponentRefType>protected FullyQualifiedClassTypeprotected XsdQNameTypeprotected JndiNameTypeprotected FullyQualifiedClassTypeprotected XsdAnyURIType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the description property.Gets the value of the displayName property.Gets the value of the handler property.Gets the value of the handlerChains property.getIcon()Gets the value of the icon property.getId()Gets the value of the id property.Gets the value of the injectionTarget property.Gets the value of the jaxrpcMappingFile property.Gets the value of the mappedName property.Gets the value of the portComponentRef property.Gets the value of the serviceInterface property.Gets the value of the serviceQname property.Gets the value of the serviceRefName property.Gets the value of the serviceRefType property.Gets the value of the wsdlFile property.voidSets the value of the handlerChains property.voidSets the value of the id property.voidsetJaxrpcMappingFile(PathType value) Sets the value of the jaxrpcMappingFile property.voidsetMappedName(XsdStringType value) Sets the value of the mappedName property.voidSets the value of the serviceInterface property.voidsetServiceQname(XsdQNameType value) Sets the value of the serviceQname property.voidsetServiceRefName(JndiNameType value) Sets the value of the serviceRefName property.voidSets the value of the serviceRefType property.voidsetWsdlFile(XsdAnyURIType value) Sets the value of the wsdlFile property.
-
Field Details
-
description
-
displayName
-
icon
-
serviceRefName
-
serviceInterface
-
serviceRefType
-
wsdlFile
-
jaxrpcMappingFile
-
serviceQname
-
portComponentRef
-
handler
-
handlerChains
-
mappedName
-
injectionTarget
-
id
-
-
Constructor Details
-
ServiceRefType
public ServiceRefType()
-
-
Method Details
-
getDescription
Gets the value of the description 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 description property. For example, to add a new item, do as follows:getDescription().add(newItem);Objects of the following type(s) are allowed in the listDescriptionType -
getDisplayName
Gets the value of the displayName 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 displayName property. For example, to add a new item, do as follows:getDisplayName().add(newItem);Objects of the following type(s) are allowed in the listDisplayNameType -
getIcon
Gets the value of the icon 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 icon property. For example, to add a new item, do as follows:getIcon().add(newItem);Objects of the following type(s) are allowed in the listIconType -
getServiceRefName
Gets the value of the serviceRefName property.- Returns:
- possible object is
JndiNameType
-
setServiceRefName
Sets the value of the serviceRefName property.- Parameters:
value- allowed object isJndiNameType
-
getServiceInterface
Gets the value of the serviceInterface property.- Returns:
- possible object is
FullyQualifiedClassType
-
setServiceInterface
Sets the value of the serviceInterface property.- Parameters:
value- allowed object isFullyQualifiedClassType
-
getServiceRefType
Gets the value of the serviceRefType property.- Returns:
- possible object is
FullyQualifiedClassType
-
setServiceRefType
Sets the value of the serviceRefType property.- Parameters:
value- allowed object isFullyQualifiedClassType
-
getWsdlFile
Gets the value of the wsdlFile property.- Returns:
- possible object is
XsdAnyURIType
-
setWsdlFile
Sets the value of the wsdlFile property.- Parameters:
value- allowed object isXsdAnyURIType
-
getJaxrpcMappingFile
Gets the value of the jaxrpcMappingFile property.- Returns:
- possible object is
PathType
-
setJaxrpcMappingFile
Sets the value of the jaxrpcMappingFile property.- Parameters:
value- allowed object isPathType
-
getServiceQname
Gets the value of the serviceQname property.- Returns:
- possible object is
XsdQNameType
-
setServiceQname
Sets the value of the serviceQname property.- Parameters:
value- allowed object isXsdQNameType
-
getPortComponentRef
Gets the value of the portComponentRef 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 portComponentRef property. For example, to add a new item, do as follows:getPortComponentRef().add(newItem);Objects of the following type(s) are allowed in the listPortComponentRefType -
getHandler
Gets the value of the handler 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 handler property. For example, to add a new item, do as follows:getHandler().add(newItem);Objects of the following type(s) are allowed in the listServiceRefHandlerType -
getHandlerChains
Gets the value of the handlerChains property.- Returns:
- possible object is
ServiceRefHandlerChainsType
-
setHandlerChains
Sets the value of the handlerChains property.- Parameters:
value- allowed object isServiceRefHandlerChainsType
-
getMappedName
Gets the value of the mappedName property.- Returns:
- possible object is
XsdStringType
-
setMappedName
Sets the value of the mappedName property.- Parameters:
value- allowed object isXsdStringType
-
getInjectionTarget
Gets the value of the injectionTarget 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 injectionTarget property. For example, to add a new item, do as follows:getInjectionTarget().add(newItem);Objects of the following type(s) are allowed in the listInjectionTargetType -
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-