Skip navigation links

Oracle Fusion Middleware External Parameters Java API Reference for Oracle Business Intelligence Data Warehouse Administration Console
11g Release 1 (11.1.1)

E20492-01


com.oracle.dac.thirdparty.parameter
Interface DACGenericParameterProducer

All Known Subinterfaces:
DACTextParameterProducer, DACTimestampParameterProducer

public interface DACGenericParameterProducer

Base interface for external parameters.

Since:
DAC 11.1.1.5.0

Method Summary
 void finalize()
          Forces implementing classes to explicitly create finalize method.
 java.util.Map getParameters(int dsnId, java.lang.String taskName)
          Returns the map of parameter names and values for a given task and data source ID.
 void init(java.util.Map<java.lang.Object,java.lang.Object> runtimeContext, java.sql.Connection jdbcConnection)
          Initializing external parameters from database.

 

Method Detail

init

void init(java.util.Map<java.lang.Object,java.lang.Object> runtimeContext,
          java.sql.Connection jdbcConnection)
          throws DACParameterProducerException
Initializing external parameters from database. This should be done once and the connection should not be used again, nor should it be closed.
Parameters:
runtimeContext - runtime properties like DNS id to type map and logger
jdbcConnection - connection to the schema with external parameters
Throws:
DACParameterProducerException - if parameters can't be initialized

getParameters

java.util.Map getParameters(int dsnId,
                            java.lang.String taskName)
                            throws DACParameterProducerException
Returns the map of parameter names and values for a given task and data source ID.
Parameters:
dsnId - data source id
taskName - task name
Returns:
all parameters (global, dsn-specific and dsn-task specific) that apply to a given task
Throws:
DACParameterProducerException - if parameters are not available

finalize

void finalize()
              throws java.lang.Throwable
Forces implementing classes to explicitly create finalize method. All parameter store(s) inside are expected to be cleared as a result.
Throws:
java.lang.Throwable - if there is an error while cleaning parameter store(s)

Skip navigation links

Oracle Fusion Middleware External Parameters Java API Reference for Oracle Business Intelligence Data Warehouse Administration Console
11g Release 1 (11.1.1)

E20492-01


Copyright © 2003, 2011, Oracle. All rights reserved.