Package com.dassault_systemes.catweb.databackend.dataType

   
Interface Driver2

 
Class Hierarchy
com.dassault_systemes.catweb.databackend.dataType.Driver2
Class Location

Framework : CATJDataAccessBasicModel

Module : PLAdatabackend

Class Description

public interface Driver2

Interface to manage the access to hierachied data.

   All Implemented Interfaces:
Driver
Field Summary

Constructor Summary

Method Summary
void stop()
void setParameter(KeywordValue[] _kvs)
Object getSupportedInterface(String interfaceName)


Field Detail

Constructor Detail

Method Detail

stop

    void stop()

Stops the Driver, called at the end of the session.


setParameter

    void setParameter(KeywordValue[] _kvs)

Provides the informations stored in Driver.properties, called before the start of the Driver.

Parameters:
iKeywordValues
The array of KeywordValue contains the informations stored in Driver.properties. In Driver.properties, the field nbParameter gives the size of this array, the field parameter.*.keyword gives the keyword and the field parameter.*.value gives the value.

getSupportedInterface

    Object getSupportedInterface(String interfaceName)

Enables the Portal to know which optional interfaces are supported by the Driver. For example, when we want a service like bookmark data, we use the getSupportedInterface method, to tell the Driver the persistantDataIF interface is implemented. At this code version, only optional interface persistantDataIF is available.

Parameters:
iInterfaceName
It takes in input a String which is the full java classname of the interface requested, for example "com.dassault_systemes.catweb.databackend.dataType.persistantDataIF".
Returns:
Returns a java.lang.Object implementing the interface requested.


Copyright © 2000, Dassault Systèmes. All rights reserved