org.apache.geronimo.ews.ws4j2ee.context.webservices.client
Class ServiceReferanceImpl

java.lang.Object
  extended byorg.apache.geronimo.ews.ws4j2ee.context.webservices.client.ServiceReferanceImpl
All Implemented Interfaces:
ServiceReferanceContext

public class ServiceReferanceImpl
extends java.lang.Object
implements ServiceReferanceContext

Author:
Srinath Perera(hemapani@opensource.lk)
See Also:
org.apache.geronimo.ews.ws4j2ee.context.webservices.client.interfaces.ServiceReferance;

Constructor Summary
ServiceReferanceImpl()
           
 
Method Summary
 void addHandler(WSCFHandler handler)
           
 WSCFHandler[] getHandlers()
           
 java.lang.String getJaxrpcmappingFile()
          JAX-RPC Mapping.
 javax.xml.namespace.QName getServcieQName()
           
 java.lang.String getServiceInterface()
           
 java.lang.String getServicerefName()
          Service Reference Name.
 java.lang.String getWsdlFile()
          WSDL definition (optional).
 void setJaxrpcmappingFile(java.lang.String string)
           
 void setServcieQName(javax.xml.namespace.QName name)
          Service Port.
 void setServiceInterface(java.lang.String string)
          Service type: The service-interface element defines the fully qualified name of the JAXRPC Service Interface class returned by the JNDI lookup.
 void setServicerefName(java.lang.String string)
           
 void setWsdlFile(java.lang.String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceReferanceImpl

public ServiceReferanceImpl()
Method Detail

getJaxrpcmappingFile

public java.lang.String getJaxrpcmappingFile()
Description copied from interface: ServiceReferanceContext
JAX-RPC Mapping. The developer specifies the correlation of the WSDL definition to the interfaces using the jaxrpc-mapping-file element. The location is relative to the root of the module. The same mapping file must be used for all interfaces associated with a wsdl-file. The developer must specify the jaxrpc-mapping-file if the wsdl-file is specified.

Specified by:
getJaxrpcmappingFile in interface ServiceReferanceContext
Returns:

getServcieQName

public javax.xml.namespace.QName getServcieQName()
Specified by:
getServcieQName in interface ServiceReferanceContext
Returns:

getServiceInterface

public java.lang.String getServiceInterface()
Specified by:
getServiceInterface in interface ServiceReferanceContext
Returns:

getServicerefName

public java.lang.String getServicerefName()
Description copied from interface: ServiceReferanceContext
Service Reference Name. This defines a logical name for the reference that is used in the client source code. It is recommended, but not required that the name begin with service/*.

Specified by:
getServicerefName in interface ServiceReferanceContext
Returns:

getWsdlFile

public java.lang.String getWsdlFile()
Description copied from interface: ServiceReferanceContext
WSDL definition (optional). The wsdl-file element specifies a location of the WSDL description of the service. The location is relative to the root of the module. The WSDL description may be a partial WSDL, but must at least include the portType and binding elements. The WSDL description provided by the developer is considered a template that must be preserved by the assembly/deployment process. In other words, the WSDL description contains a declaration of the application?s dependency on portTypes, bindings, and QNames. The WSDL document must be fully specified, including the service and port elements, if the application is dependent on port QNames (e.g. uses the Service.getPort(QName,Class) method). The developer must specify the wsdl-file if any of the Service methods declared in section 4.2.2.4 or 4.2.2.5 are used

Specified by:
getWsdlFile in interface ServiceReferanceContext
Returns:

setJaxrpcmappingFile

public void setJaxrpcmappingFile(java.lang.String string)
Specified by:
setJaxrpcmappingFile in interface ServiceReferanceContext
Parameters:
string -

setServcieQName

public void setServcieQName(javax.xml.namespace.QName name)
Description copied from interface: ServiceReferanceContext
Service Port. If the specified wsdl-file has more than one service element, the developer must specify the service-qname.

Specified by:
setServcieQName in interface ServiceReferanceContext
Parameters:
name -

setServiceInterface

public void setServiceInterface(java.lang.String string)
Description copied from interface: ServiceReferanceContext
Service type: The service-interface element defines the fully qualified name of the JAXRPC Service Interface class returned by the JNDI lookup.

Specified by:
setServiceInterface in interface ServiceReferanceContext
Parameters:
string -

setServicerefName

public void setServicerefName(java.lang.String string)
Specified by:
setServicerefName in interface ServiceReferanceContext
Parameters:
string -

setWsdlFile

public void setWsdlFile(java.lang.String string)
Specified by:
setWsdlFile in interface ServiceReferanceContext
Parameters:
string -

addHandler

public void addHandler(WSCFHandler handler)
Specified by:
addHandler in interface ServiceReferanceContext

getHandlers

public WSCFHandler[] getHandlers()
Specified by:
getHandlers in interface ServiceReferanceContext


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.