org.eclipse.modisco.jee.ejbjar.EjbJar31
Interface ServiceRefType


public interface ServiceRefType

A representation of the model object 'Service Ref Type'. 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.

The following features are supported:

See Also:
EjbJar31Package.getServiceRefType()
Generated:
Model:
extendedMetaData="name='service-refType' kind='elementOnly'"

Method Summary
  getDescription()
          Returns the value of the 'Description' containment reference list.
  getDisplayName()
          Returns the value of the 'Display Name' containment reference list.
  getHandler()
          Returns the value of the 'Handler' containment reference list.
 HandlerChainsType getHandlerChains()
          Returns the value of the 'Handler Chains' containment reference.
  getIcon()
          Returns the value of the 'Icon' containment reference list.
 java.lang.String getId()
          Returns the value of the 'Id' attribute.
  getInjectionTarget()
          Returns the value of the 'Injection Target' containment reference list.
 PathType getJaxrpcMappingFile()
          Returns the value of the 'Jaxrpc Mapping File' containment reference.
 XsdStringType getLookupName()
          Returns the value of the 'Lookup Name' containment reference.
 XsdStringType getMappedName()
          Returns the value of the 'Mapped Name' containment reference.
  getPortComponentRef()
          Returns the value of the 'Port Component Ref' containment reference list.
 FullyQualifiedClassType getServiceInterface()
          Returns the value of the 'Service Interface' containment reference.
 XsdQNameType getServiceQname()
          Returns the value of the 'Service Qname' containment reference.
 JndiNameType getServiceRefName()
          Returns the value of the 'Service Ref Name' containment reference.
 FullyQualifiedClassType getServiceRefType()
          Returns the value of the 'Service Ref Type' containment reference.
 XsdAnyURIType getWsdlFile()
          Returns the value of the 'Wsdl File' containment reference.
 void setHandlerChains(HandlerChainsType value)
          Sets the value of the 'Handler Chains' containment reference.
 void setId(java.lang.String value)
          Sets the value of the 'Id' attribute.
 void setJaxrpcMappingFile(PathType value)
          Sets the value of the 'Jaxrpc Mapping File' containment reference.
 void setLookupName(XsdStringType value)
          Sets the value of the 'Lookup Name' containment reference.
 void setMappedName(XsdStringType value)
          Sets the value of the 'Mapped Name' containment reference.
 void setServiceInterface(FullyQualifiedClassType value)
          Sets the value of the 'Service Interface' containment reference.
 void setServiceQname(XsdQNameType value)
          Sets the value of the 'Service Qname' containment reference.
 void setServiceRefName(JndiNameType value)
          Sets the value of the 'Service Ref Name' containment reference.
 void setServiceRefType(FullyQualifiedClassType value)
          Sets the value of the 'Service Ref Type' containment reference.
 void setWsdlFile(XsdAnyURIType value)
          Sets the value of the 'Wsdl File' containment reference.
 

Method Detail

getDescription

 getDescription()
Returns the value of the 'Description' containment reference list. The list contents are of type DescriptionType.

If the meaning of the 'Description' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Description' containment reference list.
See Also:
EjbJar31Package.getServiceRefType_Description()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='description' namespace='http://java.sun.com/xml/ns/javaee'"

getDisplayName

 getDisplayName()
Returns the value of the 'Display Name' containment reference list. The list contents are of type DisplayNameType.

If the meaning of the 'Display Name' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Display Name' containment reference list.
See Also:
EjbJar31Package.getServiceRefType_DisplayName()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='display-name' namespace='http://java.sun.com/xml/ns/javaee'"

getIcon

 getIcon()
Returns the value of the 'Icon' containment reference list. The list contents are of type IconType.

If the meaning of the 'Icon' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Icon' containment reference list.
See Also:
EjbJar31Package.getServiceRefType_Icon()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='icon' namespace='http://java.sun.com/xml/ns/javaee'"

getServiceRefName

JndiNameType getServiceRefName()
Returns the value of the 'Service Ref Name' containment reference. The service-ref-name element declares logical name that the components in the module use to look up the Web service. It is recommended that all service reference names start with "service/".

Returns:
the value of the 'Service Ref Name' containment reference.
See Also:
setServiceRefName(JndiNameType), EjbJar31Package.getServiceRefType_ServiceRefName()
Generated:
Model:
containment="true" required="true" extendedMetaData="kind='element' name='service-ref-name' namespace='http://java.sun.com/xml/ns/javaee'"

setServiceRefName

void setServiceRefName(JndiNameType value)
Sets the value of the 'Service Ref Name' containment reference.

Parameters:
value - the new value of the 'Service Ref Name' containment reference.
See Also:
getServiceRefName()
Generated:

getServiceInterface

FullyQualifiedClassType getServiceInterface()
Returns the value of the 'Service Interface' containment reference. The service-interface element declares the fully qualified class name of the JAX-RPC Service interface the client depends on. In most cases the value will be javax.xml.rpc.Service. A JAX-RPC generated Service Interface class may also be specified.

Returns:
the value of the 'Service Interface' containment reference.
See Also:
setServiceInterface(FullyQualifiedClassType), EjbJar31Package.getServiceRefType_ServiceInterface()
Generated:
Model:
containment="true" required="true" extendedMetaData="kind='element' name='service-interface' namespace='http://java.sun.com/xml/ns/javaee'"

setServiceInterface

void setServiceInterface(FullyQualifiedClassType value)
Sets the value of the 'Service Interface' containment reference.

Parameters:
value - the new value of the 'Service Interface' containment reference.
See Also:
getServiceInterface()
Generated:

getServiceRefType

FullyQualifiedClassType getServiceRefType()
Returns the value of the 'Service Ref Type' containment reference. The service-ref-type element declares the type of the service-ref element that is injected or returned when a JNDI lookup is done. This must be either a fully qualified name of Service class or the fully qualified name of service endpoint interface class. This is only used with JAX-WS runtime where the corresponding

Returns:
the value of the 'Service Ref Type' containment reference.
See Also:
setServiceRefType(FullyQualifiedClassType), EjbJar31Package.getServiceRefType_ServiceRefType()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='service-ref-type' namespace='http://java.sun.com/xml/ns/javaee'"

setServiceRefType

void setServiceRefType(FullyQualifiedClassType value)
Sets the value of the 'Service Ref Type' containment reference.

Parameters:
value - the new value of the 'Service Ref Type' containment reference.
See Also:
getServiceRefType()
Generated:

getWsdlFile

XsdAnyURIType getWsdlFile()
Returns the value of the 'Wsdl File' containment reference. The wsdl-file element contains the URI location of a WSDL file. The location is relative to the root of the module.

Returns:
the value of the 'Wsdl File' containment reference.
See Also:
setWsdlFile(XsdAnyURIType), EjbJar31Package.getServiceRefType_WsdlFile()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='wsdl-file' namespace='http://java.sun.com/xml/ns/javaee'"

setWsdlFile

void setWsdlFile(XsdAnyURIType value)
Sets the value of the 'Wsdl File' containment reference.

Parameters:
value - the new value of the 'Wsdl File' containment reference.
See Also:
getWsdlFile()
Generated:

getJaxrpcMappingFile

PathType getJaxrpcMappingFile()
Returns the value of the 'Jaxrpc Mapping File' containment reference. The jaxrpc-mapping-file element contains the name of a file that describes the JAX-RPC mapping between the Java interaces used by the application and the WSDL description in the wsdl-file. The file name is a relative path within the module file. This is not required when JAX-WS based runtime is used.

Returns:
the value of the 'Jaxrpc Mapping File' containment reference.
See Also:
setJaxrpcMappingFile(PathType), EjbJar31Package.getServiceRefType_JaxrpcMappingFile()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='jaxrpc-mapping-file' namespace='http://java.sun.com/xml/ns/javaee'"

setJaxrpcMappingFile

void setJaxrpcMappingFile(PathType value)
Sets the value of the 'Jaxrpc Mapping File' containment reference.

Parameters:
value - the new value of the 'Jaxrpc Mapping File' containment reference.
See Also:
getJaxrpcMappingFile()
Generated:

getServiceQname

XsdQNameType getServiceQname()
Returns the value of the 'Service Qname' containment reference. The service-qname element declares the specific WSDL service element that is being refered to. It is not specified if no wsdl-file is declared.

Returns:
the value of the 'Service Qname' containment reference.
See Also:
setServiceQname(XsdQNameType), EjbJar31Package.getServiceRefType_ServiceQname()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='service-qname' namespace='http://java.sun.com/xml/ns/javaee'"

setServiceQname

void setServiceQname(XsdQNameType value)
Sets the value of the 'Service Qname' containment reference.

Parameters:
value - the new value of the 'Service Qname' containment reference.
See Also:
getServiceQname()
Generated:

getPortComponentRef

 getPortComponentRef()
Returns the value of the 'Port Component Ref' containment reference list. The list contents are of type PortComponentRefType. The port-component-ref element declares a client dependency on the container for resolving a Service Endpoint Interface to a WSDL port. It optionally associates the Service Endpoint Interface with a particular port-component. This is only used by the container for a Service.getPort(Class) method call.

Returns:
the value of the 'Port Component Ref' containment reference list.
See Also:
EjbJar31Package.getServiceRefType_PortComponentRef()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='port-component-ref' namespace='http://java.sun.com/xml/ns/javaee'"

getHandler

 getHandler()
Returns the value of the 'Handler' containment reference list. The list contents are of type HandlerType. Declares the handler for a port-component. Handlers can access the init-param name/value pairs using the HandlerInfo interface. If port-name is not specified, the handler is assumed to be associated with all ports of the service. To be used with JAX-RPC based runtime only.

Returns:
the value of the 'Handler' containment reference list.
See Also:
EjbJar31Package.getServiceRefType_Handler()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='handler' namespace='http://java.sun.com/xml/ns/javaee'"

getHandlerChains

HandlerChainsType getHandlerChains()
Returns the value of the 'Handler Chains' containment reference. To be used with JAX-WS based runtime only.

Returns:
the value of the 'Handler Chains' containment reference.
See Also:
setHandlerChains(HandlerChainsType), EjbJar31Package.getServiceRefType_HandlerChains()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='handler-chains' namespace='http://java.sun.com/xml/ns/javaee'"

setHandlerChains

void setHandlerChains(HandlerChainsType value)
Sets the value of the 'Handler Chains' containment reference.

Parameters:
value - the new value of the 'Handler Chains' containment reference.
See Also:
getHandlerChains()
Generated:

getMappedName

XsdStringType getMappedName()
Returns the value of the 'Mapped Name' containment reference. A product specific name that this resource should be mapped to. The name of this resource, as defined by the resource's name element or defaulted, is a name that is local to the application component using the resource. (It's a name in the JNDI java:comp/env namespace.) Many application servers provide a way to map these local names to names of resources known to the application server. This mapped name is often a global JNDI name, but may be a name of any form. Application servers are not required to support any particular form or type of mapped name, nor the ability to use mapped names. The mapped name is product-dependent and often installation-dependent. No use of a mapped name is portable.

Returns:
the value of the 'Mapped Name' containment reference.
See Also:
setMappedName(XsdStringType), EjbJar31Package.getServiceRefType_MappedName()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='mapped-name' namespace='http://java.sun.com/xml/ns/javaee'"

setMappedName

void setMappedName(XsdStringType value)
Sets the value of the 'Mapped Name' containment reference.

Parameters:
value - the new value of the 'Mapped Name' containment reference.
See Also:
getMappedName()
Generated:

getInjectionTarget

 getInjectionTarget()
Returns the value of the 'Injection Target' containment reference list. The list contents are of type InjectionTargetType.

If the meaning of the 'Injection Target' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Injection Target' containment reference list.
See Also:
EjbJar31Package.getServiceRefType_InjectionTarget()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='injection-target' namespace='http://java.sun.com/xml/ns/javaee'"

getLookupName

XsdStringType getLookupName()
Returns the value of the 'Lookup Name' containment reference. The JNDI name to be looked up to resolve a resource reference.

Returns:
the value of the 'Lookup Name' containment reference.
See Also:
setLookupName(XsdStringType), EjbJar31Package.getServiceRefType_LookupName()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='lookup-name' namespace='http://java.sun.com/xml/ns/javaee'"

setLookupName

void setLookupName(XsdStringType value)
Sets the value of the 'Lookup Name' containment reference.

Parameters:
value - the new value of the 'Lookup Name' containment reference.
See Also:
getLookupName()
Generated:

getId

java.lang.String getId()
Returns the value of the 'Id' attribute.

If the meaning of the 'Id' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Id' attribute.
See Also:
setId(String), EjbJar31Package.getServiceRefType_Id()
Generated:
Model:
id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" extendedMetaData="kind='attribute' name='id'"

setId

void setId(java.lang.String value)
Sets the value of the 'Id' attribute.

Parameters:
value - the new value of the 'Id' attribute.
See Also:
getId()
Generated: