public class ServiceRef extends Object implements JndiReference
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>
| Modifier and Type | Field and Description |
|---|---|
protected TextMap |
description |
protected TextMap |
displayName |
protected List<Handler> |
handler |
protected HandlerChains |
handlerChains |
protected LocalCollection<Icon> |
icon |
protected String |
id |
protected Set<InjectionTarget> |
injectionTarget |
protected String |
jaxrpcMappingFile |
protected String |
lookupName |
protected String |
mappedName |
protected List<PortComponentRef> |
portComponentRef |
protected String |
serviceInterface |
protected QName |
serviceQname |
protected String |
serviceRefName |
protected String |
serviceRefType |
protected String |
wsdlFile |
| Constructor and Description |
|---|
ServiceRef() |
protected TextMap description
protected TextMap displayName
protected LocalCollection<Icon> icon
protected String serviceRefName
protected String serviceInterface
protected String serviceRefType
protected String wsdlFile
protected String jaxrpcMappingFile
protected QName serviceQname
protected List<PortComponentRef> portComponentRef
protected HandlerChains handlerChains
protected String mappedName
protected String lookupName
protected Set<InjectionTarget> injectionTarget
protected String id
public ServiceRef name(String serviceRefName)
public ServiceRef type(String serviceRefType)
public ServiceRef type(Class<?> serviceRefType)
public ServiceRef wsdl(String wsdlFile)
public ServiceRef qname(QName serviceQname)
public ServiceRef jaxrpcMappingFile(String jaxrpcMappingFile)
public ServiceRef mappedName(String mappedName)
public ServiceRef lookup(String lookupName)
public ServiceRef injectionTarget(String className, String property)
public ServiceRef injectionTarget(Class<?> clazz, String property)
public String getName()
getName in interface JndiReferencepublic String getKey()
Keyablepublic String getType()
getType in interface JndiReferencepublic void setName(String name)
setName in interface JndiReferencepublic void setType(String type)
setType in interface JndiReferencepublic Text[] getDescriptions()
public void setDescriptions(Text[] text)
public String getDescription()
public Text[] getDisplayNames()
public void setDisplayNames(Text[] text)
public String getDisplayName()
public Collection<Icon> getIcons()
public Icon getIcon()
public String getServiceRefName()
public void setServiceRefName(String value)
public String getServiceInterface()
public void setServiceInterface(String value)
public String getServiceRefType()
public void setServiceRefType(String value)
public String getWsdlFile()
public void setWsdlFile(String value)
public String getJaxrpcMappingFile()
public void setJaxrpcMappingFile(String value)
public QName getServiceQname()
public void setServiceQname(QName value)
public List<PortComponentRef> getPortComponentRef()
public HandlerChains getHandlerChains()
public void setHandlerChains(HandlerChains value)
public HandlerChains getAllHandlers()
public String getMappedName()
getMappedName in interface JndiReferencepublic void setMappedName(String value)
setMappedName in interface JndiReferencepublic String getLookupName()
getLookupName in interface JndiReferencepublic void setLookupName(String lookupName)
setLookupName in interface JndiReferencepublic Set<InjectionTarget> getInjectionTarget()
getInjectionTarget in interface Injectablepublic String getId()
public void setId(String value)
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.