|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.jaxws.javaee.ServiceRefType
public class 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 | |
---|---|
protected List<DescriptionType> |
description
|
protected List<DisplayNameType> |
displayName
|
protected List<ServiceRefHandlerType> |
handler
|
protected ServiceRefHandlerChainsType |
handlerChains
|
protected List<IconType> |
icon
|
protected String |
id
|
protected List<InjectionTargetType> |
injectionTarget
|
protected PathType |
jaxrpcMappingFile
|
protected XsdStringType |
mappedName
|
protected List<PortComponentRefType> |
portComponentRef
|
protected FullyQualifiedClassType |
serviceInterface
|
protected XsdQNameType |
serviceQname
|
protected JndiNameType |
serviceRefName
|
protected FullyQualifiedClassType |
serviceRefType
|
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. |
ServiceRefHandlerChainsType |
getHandlerChains()
Gets the value of the handlerChains property. |
List<IconType> |
getIcon()
Gets the value of the icon property. |
String |
getId()
Gets the value of the id property. |
List<InjectionTargetType> |
getInjectionTarget()
Gets the value of the injectionTarget property. |
PathType |
getJaxrpcMappingFile()
Gets the value of the jaxrpcMappingFile property. |
XsdStringType |
getMappedName()
Gets the value of the mappedName 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. |
FullyQualifiedClassType |
getServiceRefType()
Gets the value of the serviceRefType property. |
XsdAnyURIType |
getWsdlFile()
Gets the value of the wsdlFile property. |
void |
setHandlerChains(ServiceRefHandlerChainsType value)
Sets the value of the handlerChains property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setJaxrpcMappingFile(PathType value)
Sets the value of the jaxrpcMappingFile property. |
void |
setMappedName(XsdStringType value)
Sets the value of the mappedName 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 |
setServiceRefType(FullyQualifiedClassType value)
Sets the value of the serviceRefType 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 |
---|
protected List<DescriptionType> description
protected List<DisplayNameType> displayName
protected List<IconType> icon
protected JndiNameType serviceRefName
protected FullyQualifiedClassType serviceInterface
protected FullyQualifiedClassType serviceRefType
protected XsdAnyURIType wsdlFile
protected PathType jaxrpcMappingFile
protected XsdQNameType serviceQname
protected List<PortComponentRefType> portComponentRef
protected List<ServiceRefHandlerType> handler
protected ServiceRefHandlerChainsType handlerChains
protected XsdStringType mappedName
protected List<InjectionTargetType> injectionTarget
protected String id
Constructor Detail |
---|
public ServiceRefType()
Method Detail |
---|
public List<DescriptionType> getDescription()
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
public List<DisplayNameType> getDisplayName()
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
public List<IconType> getIcon()
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
public JndiNameType getServiceRefName()
JndiNameType
public void setServiceRefName(JndiNameType value)
value
- allowed object is
JndiNameType
public FullyQualifiedClassType getServiceInterface()
FullyQualifiedClassType
public void setServiceInterface(FullyQualifiedClassType value)
value
- allowed object is
FullyQualifiedClassType
public FullyQualifiedClassType getServiceRefType()
FullyQualifiedClassType
public void setServiceRefType(FullyQualifiedClassType value)
value
- allowed object is
FullyQualifiedClassType
public XsdAnyURIType getWsdlFile()
XsdAnyURIType
public void setWsdlFile(XsdAnyURIType value)
value
- allowed object is
XsdAnyURIType
public PathType getJaxrpcMappingFile()
PathType
public void setJaxrpcMappingFile(PathType value)
value
- allowed object is
PathType
public XsdQNameType getServiceQname()
XsdQNameType
public void setServiceQname(XsdQNameType value)
value
- allowed object is
XsdQNameType
public List<PortComponentRefType> getPortComponentRef()
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
public List<ServiceRefHandlerType> getHandler()
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
public ServiceRefHandlerChainsType getHandlerChains()
ServiceRefHandlerChainsType
public void setHandlerChains(ServiceRefHandlerChainsType value)
value
- allowed object is
ServiceRefHandlerChainsType
public XsdStringType getMappedName()
XsdStringType
public void setMappedName(XsdStringType value)
value
- allowed object is
XsdStringType
public List<InjectionTargetType> getInjectionTarget()
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 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
public String getId()
String
public void setId(String value)
value
- allowed object is
String
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |