org.apache.openejb.jee
Class ServiceRef

java.lang.Object
  extended by org.apache.openejb.jee.ServiceRef
All Implemented Interfaces:
Injectable, JndiReference, Keyable<String>

public class ServiceRef
extends Object
implements JndiReference

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.


Field Summary
protected  List<Text> description
           
protected  List<Text> displayName
           
protected  List<Handler> handler
           
protected  HandlerChains handlerChains
           
protected  List<Icon> icon
           
protected  String id
           
protected  List<InjectionTarget> injectionTarget
           
protected  String jaxrpcMappingFile
           
protected  String mappedName
           
protected  List<PortComponentRef> portComponentRef
           
protected  String serviceInterface
           
protected  QName serviceQname
           
protected  String serviceRefName
           
protected  String serviceRefType
           
protected  String wsdlFile
           
 
Constructor Summary
ServiceRef()
           
 
Method Summary
 HandlerChains getAllHandlers()
           
 List<Text> getDescription()
           
 List<Text> getDisplayName()
           
 List<Handler> getHandler()
           
 HandlerChains getHandlerChains()
           
 List<Icon> getIcon()
           
 String getId()
           
 List<InjectionTarget> getInjectionTarget()
           
 String getJaxrpcMappingFile()
           
 String getKey()
          Gets the immutable key for this object.
 String getMappedName()
           
 String getName()
           
 List<PortComponentRef> getPortComponentRef()
           
 String getServiceInterface()
           
 QName getServiceQname()
          Gets the value of the serviceQname property.
 String getServiceRefName()
           
 String getServiceRefType()
           
 String getType()
           
 String getWsdlFile()
           
 void setHandlerChains(HandlerChains value)
           
 void setId(String value)
           
 void setJaxrpcMappingFile(String value)
           
 void setMappedName(String value)
           
 void setName(String name)
           
 void setServiceInterface(String value)
           
 void setServiceQname(QName value)
          Sets the value of the serviceQname property.
 void setServiceRefName(String value)
           
 void setServiceRefType(String value)
           
 void setType(String type)
           
 void setWsdlFile(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected List<Text> description

displayName

protected List<Text> displayName

icon

protected List<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

injectionTarget

protected List<InjectionTarget> injectionTarget

id

protected String id
Constructor Detail

ServiceRef

public ServiceRef()
Method Detail

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

getDescription

public List<Text> getDescription()

getDisplayName

public List<Text> getDisplayName()

getIcon

public List<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

getInjectionTarget

public List<InjectionTarget> getInjectionTarget()
Specified by:
getInjectionTarget in interface Injectable

getId

public String getId()

setId

public void setId(String value)


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