spis.Util.io
Class Introspection

java.lang.Object
  extended byspis.Util.io.Introspection

public class Introspection
extends java.lang.Object

Class Name : Introspection
Project ref : SPIS project
File name : Introspection.java
File type : class
Copyright : ONERA, 2 Av. E. Belin, 31055 Toulouse cedex, France http://www.onecert.fr
Status : under development
Creation : Jun 15, 2004
Modification :

Description :

Versions and anomalies correction :

Version numberAuthor (name, e-mail) Corrections/Modifications
0.1 JF Roussel, roussel@onecert.frCreation


Version:
0.1
Author:
JF Roussel

Constructor Summary
Introspection()
           
 
Method Summary
static java.lang.Object getUIDefinedInstance(java.lang.String className, GlobalParameter[] globalParams, LocalParameter[] localParams, java.lang.String option, java.lang.Object[] otherConstructorArgs, java.lang.Class superClass)
          Returns an instance of the class of name className using parameters defined through the UI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Introspection

public Introspection()
Method Detail

getUIDefinedInstance

public static java.lang.Object getUIDefinedInstance(java.lang.String className,
                                                    GlobalParameter[] globalParams,
                                                    LocalParameter[] localParams,
                                                    java.lang.String option,
                                                    java.lang.Object[] otherConstructorArgs,
                                                    java.lang.Class superClass)
Returns an instance of the class of name className using parameters defined through the UI. For that, the constructor with arguments (GlobalParameter[] globalParams, LocalParameter[] localParams, String option, otherConstructorArgs[0], otherConstructorArgs[1]...) is used.
If it does not exist the class className cannot be defined from UI-defined parameters and a SpisRuntimeException is thrown.
otherConstructorArgs must contain the right number of extra arguments (some can be null, in which case they are accepted (without type check!)).

Parameters:
className -
globalParams -
localParams -
option -
otherConstructorArgs -
Returns: