Package  Use  Tree  Index  Help 
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD


 

 

jve.generated
Class WebServiceDataSource

java.lang.Object
  extended byjve.generated.WebServiceDataSource

All Implemented Interfaces:
IDataSource


public class WebServiceDataSource
extends java.lang.Object
implements IDataSource

Provide access to a Web Service proxy as a data source. This class relies on the structure of Web Service client proxies generated by the IBM Web services WSDL2Java emitter.

This data source is configured by specifiying the fully qualified class name of the Locator class of the client proxy, and the get service method within the Locator class.


Constructor Summary
WebServiceDataSource()
           
 

Method Summary
 java.lang.Object getDataSource()
          Get an an instance for a data source facade that is initialized properly and whose services are available.
 java.lang.String getServiceLocatorName()
           
 java.lang.String getServiceMethod()
           
 java.lang.Class getType()
          In design time, this method will be used to reflect on the services that are available from the implemented data source
 void setDataSource(java.lang.Object service)
          Set an instance of a facade to become the data source
 void setServiceLocatorName(java.lang.String locatorName)
           
 void setServiceMethod(java.lang.String serviceMethod)
           
 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

 

 

WebServiceDataSource

public WebServiceDataSource()

Method Detail

 

 

getServiceMethod

public java.lang.String getServiceMethod()

Returns:
Returns the serviceMethod.


 

 

setServiceMethod

public void setServiceMethod(java.lang.String serviceMethod)

Parameters:
serviceMethod - The serviceMethod to set.


 

 

getServiceLocatorName

public java.lang.String getServiceLocatorName()

Returns:
Returns the serviceLocatorName.


 

 

setServiceLocatorName

public void setServiceLocatorName(java.lang.String locatorName)

Parameters:
locatorName - The serviceLocatorName to set.


 

 

getType

public java.lang.Class getType()

Description copied from interface: IDataSource
In design time, this method will be used to reflect on the services that are available from the implemented data source

Specified by:
getType in interface IDataSource

Returns:
the class of the facade


 

 

getDataSource

public java.lang.Object getDataSource()

Description copied from interface: IDataSource
Get an an instance for a data source facade that is initialized properly and whose services are available.
Note: this method may return null at design time using
if (java.beans.Beans.isDesignTime()) { return null; }
to prevent querying live data while designing the interface.

Specified by:
getDataSource in interface IDataSource

Returns:
an instance of the facde


 

 

setDataSource

public void setDataSource(java.lang.Object service)

Description copied from interface: IDataSource
Set an instance of a facade to become the data source

Specified by:
setDataSource in interface IDataSource

Parameters:
service - the data source


Package  Use  Tree  Index  Help 
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD