Class ServiceRefType
- java.lang.Object
-
- com.sun.xml.ws.config.metro.parser.jsr109.ServiceRefType
-
- All Implemented Interfaces:
org.glassfish.jaxb.core.Locatable
public class ServiceRefType extends Object implements org.glassfish.jaxb.core.Locatable
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}handlerType" maxOccurs="unbounded" minOccurs="0"/> <element name="handler-chains" type="{http://java.sun.com/xml/ns/javaee}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
Fields Modifier and Type Field Description protected List<DescriptionType>descriptionprotected List<DisplayNameType>displayNameprotected List<HandlerType>handlerprotected HandlerChainsTypehandlerChainsprotected List<IconType>iconprotected Stringidprotected List<InjectionTargetType>injectionTargetprotected PathTypejaxrpcMappingFileprotected Locatorlocatorprotected XsdStringTypelookupNameprotected XsdStringTypemappedNameprotected List<PortComponentRefType>portComponentRefprotected FullyQualifiedClassTypeserviceInterfaceprotected XsdQNameTypeserviceQnameprotected JndiNameTypeserviceRefNameprotected FullyQualifiedClassTypeserviceRefTypeprotected XsdAnyURITypewsdlFile
-
Constructor Summary
Constructors Constructor Description ServiceRefType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DescriptionType>getDescription()Gets the value of the description property.List<DisplayNameType>getDisplayName()Gets the value of the displayName property.List<HandlerType>getHandler()Gets the value of the handler property.HandlerChainsTypegetHandlerChains()Gets the value of the handlerChains property.List<IconType>getIcon()Gets the value of the icon property.StringgetId()Gets the value of the id property.List<InjectionTargetType>getInjectionTarget()Gets the value of the injectionTarget property.PathTypegetJaxrpcMappingFile()Gets the value of the jaxrpcMappingFile property.XsdStringTypegetLookupName()Gets the value of the lookupName property.XsdStringTypegetMappedName()Gets the value of the mappedName property.List<PortComponentRefType>getPortComponentRef()Gets the value of the portComponentRef property.FullyQualifiedClassTypegetServiceInterface()Gets the value of the serviceInterface property.XsdQNameTypegetServiceQname()Gets the value of the serviceQname property.JndiNameTypegetServiceRefName()Gets the value of the serviceRefName property.FullyQualifiedClassTypegetServiceRefType()Gets the value of the serviceRefType property.XsdAnyURITypegetWsdlFile()Gets the value of the wsdlFile property.voidsetHandlerChains(HandlerChainsType value)Sets the value of the handlerChains property.voidsetId(String value)Sets the value of the id property.voidsetJaxrpcMappingFile(PathType value)Sets the value of the jaxrpcMappingFile property.voidsetLookupName(XsdStringType value)Sets the value of the lookupName property.voidsetMappedName(XsdStringType value)Sets the value of the mappedName property.voidsetServiceInterface(FullyQualifiedClassType value)Sets 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.voidsetServiceRefType(FullyQualifiedClassType value)Sets the value of the serviceRefType property.voidsetSourceLocation(Locator newLocator)voidsetWsdlFile(XsdAnyURIType value)Sets the value of the wsdlFile property.LocatorsourceLocation()
-
-
-
Field Detail
-
description
protected List<DescriptionType> description
-
displayName
protected List<DisplayNameType> displayName
-
serviceRefName
protected JndiNameType serviceRefName
-
serviceInterface
protected FullyQualifiedClassType serviceInterface
-
serviceRefType
protected FullyQualifiedClassType serviceRefType
-
wsdlFile
protected XsdAnyURIType wsdlFile
-
jaxrpcMappingFile
protected PathType jaxrpcMappingFile
-
serviceQname
protected XsdQNameType serviceQname
-
portComponentRef
protected List<PortComponentRefType> portComponentRef
-
handler
protected List<HandlerType> handler
-
handlerChains
protected HandlerChainsType handlerChains
-
mappedName
protected XsdStringType mappedName
-
injectionTarget
protected List<InjectionTargetType> injectionTarget
-
lookupName
protected XsdStringType lookupName
-
id
protected String id
-
locator
protected Locator locator
-
-
Method Detail
-
getDescription
public List<DescriptionType> 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 a
setmethod 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 list
DescriptionType
-
getDisplayName
public List<DisplayNameType> 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 a
setmethod 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 list
DisplayNameType
-
getIcon
public List<IconType> 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 a
setmethod 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 list
IconType
-
getServiceRefName
public JndiNameType getServiceRefName()
Gets the value of the serviceRefName property.- Returns:
- possible object is
JndiNameType
-
setServiceRefName
public void setServiceRefName(JndiNameType value)
Sets the value of the serviceRefName property.- Parameters:
value- allowed object isJndiNameType
-
getServiceInterface
public FullyQualifiedClassType getServiceInterface()
Gets the value of the serviceInterface property.- Returns:
- possible object is
FullyQualifiedClassType
-
setServiceInterface
public void setServiceInterface(FullyQualifiedClassType value)
Sets the value of the serviceInterface property.- Parameters:
value- allowed object isFullyQualifiedClassType
-
getServiceRefType
public FullyQualifiedClassType getServiceRefType()
Gets the value of the serviceRefType property.- Returns:
- possible object is
FullyQualifiedClassType
-
setServiceRefType
public void setServiceRefType(FullyQualifiedClassType value)
Sets the value of the serviceRefType property.- Parameters:
value- allowed object isFullyQualifiedClassType
-
getWsdlFile
public XsdAnyURIType getWsdlFile()
Gets the value of the wsdlFile property.- Returns:
- possible object is
XsdAnyURIType
-
setWsdlFile
public void setWsdlFile(XsdAnyURIType value)
Sets the value of the wsdlFile property.- Parameters:
value- allowed object isXsdAnyURIType
-
getJaxrpcMappingFile
public PathType getJaxrpcMappingFile()
Gets the value of the jaxrpcMappingFile property.- Returns:
- possible object is
PathType
-
setJaxrpcMappingFile
public void setJaxrpcMappingFile(PathType value)
Sets the value of the jaxrpcMappingFile property.- Parameters:
value- allowed object isPathType
-
getServiceQname
public XsdQNameType getServiceQname()
Gets the value of the serviceQname property.- Returns:
- possible object is
XsdQNameType
-
setServiceQname
public void setServiceQname(XsdQNameType value)
Sets the value of the serviceQname property.- Parameters:
value- allowed object isXsdQNameType
-
getPortComponentRef
public List<PortComponentRefType> 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 a
setmethod 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 list
PortComponentRefType
-
getHandler
public List<HandlerType> 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 a
setmethod 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 list
HandlerType
-
getHandlerChains
public HandlerChainsType getHandlerChains()
Gets the value of the handlerChains property.- Returns:
- possible object is
HandlerChainsType
-
setHandlerChains
public void setHandlerChains(HandlerChainsType value)
Sets the value of the handlerChains property.- Parameters:
value- allowed object isHandlerChainsType
-
getMappedName
public XsdStringType getMappedName()
Gets the value of the mappedName property.- Returns:
- possible object is
XsdStringType
-
setMappedName
public void setMappedName(XsdStringType value)
Sets the value of the mappedName property.- Parameters:
value- allowed object isXsdStringType
-
getInjectionTarget
public List<InjectionTargetType> 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 a
setmethod 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 list
InjectionTargetType
-
getLookupName
public XsdStringType getLookupName()
Gets the value of the lookupName property.- Returns:
- possible object is
XsdStringType
-
setLookupName
public void setLookupName(XsdStringType value)
Sets the value of the lookupName property.- Parameters:
value- allowed object isXsdStringType
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
sourceLocation
public Locator sourceLocation()
- Specified by:
sourceLocationin interfaceorg.glassfish.jaxb.core.Locatable
-
setSourceLocation
public void setSourceLocation(Locator newLocator)
-
-