org.apache.openejb.jee.was.v6.wsclient
Class ServiceRef

java.lang.Object
  extended by org.apache.openejb.jee.was.v6.common.DescriptionGroup
      extended by org.apache.openejb.jee.was.v6.common.CompatibilityDescriptionGroup
          extended by 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
protected  List<Handler> handlers
           
protected  String jaxrpcMappingFile
           
protected  List<PortComponentRef> portComponentRefs
           
protected  List<JavaClass> serviceInterfaces
           
protected  String serviceInterfaceString
           
protected  List<QName> serviceQnames
           
protected  String serviceRefName
           
protected  String wsdlFile
           
 
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
ServiceRef()
           
 
Method Summary
 List<Handler> getHandlers()
          Gets the value of the handlers property.
 String getJaxrpcMappingFile()
          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.
 String getServiceInterfaceString()
          Gets the value of the serviceInterfaceString property.
 List<QName> getServiceQnames()
          Gets the value of the serviceQnames property.
 String getServiceRefName()
          Gets the value of the serviceRefName property.
 String getWsdlFile()
          Gets the value of the wsdlFile property.
 void setJaxrpcMappingFile(String value)
          Sets the value of the jaxrpcMappingFile property.
 void setServiceInterfaceString(String value)
          Sets the value of the serviceInterfaceString property.
 void setServiceRefName(String value)
          Sets the value of the serviceRefName property.
 void setWsdlFile(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceInterfaces

protected List<JavaClass> serviceInterfaces

portComponentRefs

protected List<PortComponentRef> portComponentRefs

handlers

protected List<Handler> handlers

serviceQnames

protected List<QName> serviceQnames

jaxrpcMappingFile

protected String jaxrpcMappingFile

serviceInterfaceString

protected String serviceInterfaceString

serviceRefName

protected String serviceRefName

wsdlFile

protected String wsdlFile
Constructor Detail

ServiceRef

public ServiceRef()
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 a set method 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 list JavaClass


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 a set method 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 list PortComponentRef


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 a set method 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 list Handler


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 a set method 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 list QName


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

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

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

getWsdlFile

public String getWsdlFile()
Gets the value of the wsdlFile property.

Returns:
possible object is String

setWsdlFile

public void setWsdlFile(String value)
Sets the value of the wsdlFile property.

Parameters:
value - allowed object is String


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.