com.sun.grizzly.http.webxml.schema.version_2_4
Class ServiceRefType

java.lang.Object
  extended by com.sun.grizzly.http.webxml.schema.version_2_4.ServiceRefType

public class ServiceRefType
extends Object

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/j2ee}descriptionGroup"/>
         <element name="service-ref-name" type="{http://java.sun.com/xml/ns/j2ee}jndi-nameType"/>
         <element name="service-interface" type="{http://java.sun.com/xml/ns/j2ee}fully-qualified-classType"/>
         <element name="wsdl-file" type="{http://java.sun.com/xml/ns/j2ee}xsdAnyURIType" minOccurs="0"/>
         <element name="jaxrpc-mapping-file" type="{http://java.sun.com/xml/ns/j2ee}pathType" minOccurs="0"/>
         <element name="service-qname" type="{http://java.sun.com/xml/ns/j2ee}xsdQNameType" minOccurs="0"/>
         <element name="port-component-ref" type="{http://java.sun.com/xml/ns/j2ee}port-component-refType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="handler" type="{http://java.sun.com/xml/ns/j2ee}service-ref_handlerType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<DescriptionType> description
           
protected  List<DisplayNameType> displayName
           
protected  List<ServiceRefHandlerType> handler
           
protected  List<IconType> icon
           
protected  String id
           
protected  PathType jaxrpcMappingFile
           
protected  List<PortComponentRefType> portComponentRef
           
protected  FullyQualifiedClassType serviceInterface
           
protected  XsdQNameType serviceQname
           
protected  JndiNameType serviceRefName
           
protected  XsdAnyURIType wsdlFile
           
 
Constructor Summary
ServiceRefType()
           
 
Method Summary
 List<DescriptionType> getDescription()
          Gets the value of the description property.
 List<DisplayNameType> getDisplayName()
          Gets the value of the displayName property.
 List<ServiceRefHandlerType> getHandler()
          Gets the value of the handler property.
 List<IconType> getIcon()
          Gets the value of the icon property.
 String getId()
          Gets the value of the id property.
 PathType getJaxrpcMappingFile()
          Gets the value of the jaxrpcMappingFile property.
 List<PortComponentRefType> getPortComponentRef()
          Gets the value of the portComponentRef property.
 FullyQualifiedClassType getServiceInterface()
          Gets the value of the serviceInterface property.
 XsdQNameType getServiceQname()
          Gets the value of the serviceQname property.
 JndiNameType getServiceRefName()
          Gets the value of the serviceRefName property.
 XsdAnyURIType getWsdlFile()
          Gets the value of the wsdlFile property.
 void setId(String value)
          Sets the value of the id property.
 void setJaxrpcMappingFile(PathType value)
          Sets the value of the jaxrpcMappingFile property.
 void setServiceInterface(FullyQualifiedClassType value)
          Sets the value of the serviceInterface property.
 void setServiceQname(XsdQNameType value)
          Sets the value of the serviceQname property.
 void setServiceRefName(JndiNameType value)
          Sets the value of the serviceRefName property.
 void setWsdlFile(XsdAnyURIType value)
          Sets the value of the wsdlFile property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected List<DescriptionType> description

displayName

protected List<DisplayNameType> displayName

icon

protected List<IconType> icon

serviceRefName

protected JndiNameType serviceRefName

serviceInterface

protected FullyQualifiedClassType serviceInterface

wsdlFile

protected XsdAnyURIType wsdlFile

jaxrpcMappingFile

protected PathType jaxrpcMappingFile

serviceQname

protected XsdQNameType serviceQname

portComponentRef

protected List<PortComponentRefType> portComponentRef

handler

protected List<ServiceRefHandlerType> handler

id

protected String id
Constructor Detail

ServiceRefType

public ServiceRefType()
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 set method 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 set method 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 set method 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 is JndiNameType

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 is FullyQualifiedClassType

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 is XsdAnyURIType

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 is PathType

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 is XsdQNameType

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 set method 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<ServiceRefHandlerType> 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 set method 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 ServiceRefHandlerType


getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 2012 Oracle Corporation. All Rights Reserved.