Package 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.xsdJava 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected TextMapdescriptionprotected TextMapdisplayNameprotected List<Handler>handlerprotected HandlerChainshandlerChainsprotected LocalCollection<Icon>iconprotected Stringidprotected Set<InjectionTarget>injectionTargetprotected StringjaxrpcMappingFileprotected StringlookupNameprotected StringmappedNameprotected List<PortComponentRef>portComponentRefprotected StringserviceInterfaceprotected QNameserviceQnameprotected StringserviceRefNameprotected StringserviceRefTypeprotected StringwsdlFile
-
Constructor Summary
Constructors Constructor Description ServiceRef()
-
Method Summary
-
-
-
Field Detail
-
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
-
handlerChains
protected HandlerChains handlerChains
-
mappedName
protected String mappedName
-
lookupName
protected String lookupName
-
injectionTarget
protected Set<InjectionTarget> injectionTarget
-
id
protected String id
-
-
Method Detail
-
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:
getNamein interfaceJndiReference
-
getKey
public String getKey()
Description copied from interface:KeyableGets the immutable key for this object.
-
getType
public String getType()
- Specified by:
getTypein interfaceJndiReference
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceJndiReference
-
setType
public void setType(String type)
- Specified by:
setTypein interfaceJndiReference
-
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()
-
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)
-
getAllHandlers
public HandlerChains getAllHandlers()
-
getMappedName
public String getMappedName()
- Specified by:
getMappedNamein interfaceJndiReference
-
setMappedName
public void setMappedName(String value)
- Specified by:
setMappedNamein interfaceJndiReference
-
getLookupName
public String getLookupName()
- Specified by:
getLookupNamein interfaceJndiReference
-
setLookupName
public void setLookupName(String lookupName)
- Specified by:
setLookupNamein interfaceJndiReference
-
getInjectionTarget
public Set<InjectionTarget> getInjectionTarget()
- Specified by:
getInjectionTargetin interfaceInjectable
-
getId
public String getId()
-
setId
public void setId(String value)
-
-