org.apache.openejb.jee
Class ServiceRef
java.lang.Object
org.apache.openejb.jee.ServiceRef
- All Implemented Interfaces:
- Injectable, JndiReference, Keyable<String>
public class ServiceRef
- extends Object
- implements JndiReference
javaee6.xsd
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>
description
protected TextMap description
displayName
protected TextMap displayName
icon
protected LocalCollection<Icon> icon
serviceRefName
protected String serviceRefName
serviceInterface
protected String serviceInterface
serviceRefType
protected String serviceRefType
wsdlFile
protected String wsdlFile
jaxrpcMappingFile
protected String jaxrpcMappingFile
serviceQname
protected QName serviceQname
portComponentRef
protected List<PortComponentRef> portComponentRef
handler
protected List<Handler> handler
handlerChains
protected HandlerChains handlerChains
mappedName
protected String mappedName
lookupName
protected String lookupName
injectionTarget
protected Set<InjectionTarget> injectionTarget
id
protected String id
ServiceRef
public ServiceRef()
name
public ServiceRef name(String serviceRefName)
type
public ServiceRef type(String serviceRefType)
type
public ServiceRef type(Class<?> serviceRefType)
wsdl
public ServiceRef wsdl(String wsdlFile)
qname
public ServiceRef qname(QName serviceQname)
jaxrpcMappingFile
public ServiceRef jaxrpcMappingFile(String jaxrpcMappingFile)
mappedName
public ServiceRef mappedName(String mappedName)
lookup
public ServiceRef lookup(String lookupName)
injectionTarget
public ServiceRef injectionTarget(String className,
String property)
injectionTarget
public ServiceRef injectionTarget(Class<?> clazz,
String property)
getName
public String getName()
- Specified by:
getName in interface JndiReference
getKey
public String getKey()
- Description copied from interface:
Keyable
- Gets the immutable key for this object.
- Specified by:
getKey in interface Keyable<String>
- Returns:
- gets the immutable key for this object
getType
public String getType()
- Specified by:
getType in interface JndiReference
setName
public void setName(String name)
- Specified by:
setName in interface JndiReference
setType
public void setType(String type)
- Specified by:
setType in interface JndiReference
getDescriptions
public Text[] getDescriptions()
setDescriptions
public void setDescriptions(Text[] text)
getDescription
public String getDescription()
getDisplayNames
public Text[] getDisplayNames()
setDisplayNames
public void setDisplayNames(Text[] text)
getDisplayName
public String getDisplayName()
getIcons
public Collection<Icon> getIcons()
getIconMap
public Map<String,Icon> getIconMap()
getIcon
public Icon getIcon()
getServiceRefName
public String getServiceRefName()
setServiceRefName
public void setServiceRefName(String value)
getServiceInterface
public String getServiceInterface()
setServiceInterface
public void setServiceInterface(String value)
getServiceRefType
public String getServiceRefType()
setServiceRefType
public void setServiceRefType(String value)
getWsdlFile
public String getWsdlFile()
setWsdlFile
public void setWsdlFile(String value)
getJaxrpcMappingFile
public String getJaxrpcMappingFile()
setJaxrpcMappingFile
public void setJaxrpcMappingFile(String value)
getServiceQname
public QName getServiceQname()
- Gets the value of the serviceQname property.
setServiceQname
public void setServiceQname(QName value)
- Sets the value of the serviceQname property.
getPortComponentRef
public List<PortComponentRef> getPortComponentRef()
getHandlerChains
public HandlerChains getHandlerChains()
setHandlerChains
public void setHandlerChains(HandlerChains value)
getHandler
public List<Handler> getHandler()
getAllHandlers
public HandlerChains getAllHandlers()
getMappedName
public String getMappedName()
- Specified by:
getMappedName in interface JndiReference
setMappedName
public void setMappedName(String value)
- Specified by:
setMappedName in interface JndiReference
getLookupName
public String getLookupName()
- Specified by:
getLookupName in interface JndiReference
setLookupName
public void setLookupName(String lookupName)
- Specified by:
setLookupName in interface JndiReference
getInjectionTarget
public Set<InjectionTarget> getInjectionTarget()
- Specified by:
getInjectionTarget in interface Injectable
getId
public String getId()
setId
public void setId(String value)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.