Oracle Fusion Middleware extensions for Logging and Diagnostic
11g Release 1 (11.1.1.6)

E22565-06

oracle.apps.fnd.appltest.diagfwk.engine.impl.apt
Class AnnotationConverter

java.lang.Object
  extended by oracle.apps.fnd.appltest.diagfwk.engine.impl.apt.AnnotationConverter

public class AnnotationConverter
extends java.lang.Object

Reads selected annotations found in a class file and creates a TestDefType object. The TestDefType object and supporting objects are created using the testdef.ObjectFactory.

Since:
release specific (what release of product did this appear in)
Version:
$Header: atgpf/appltest/applications/Diagnostics/Engine/src/oracle/apps/fnd/appltest/diagfwk/engine/impl/apt/AnnotationConverter.java /main/13 2009/06/05 14:18:09 ppradhan Exp $
Author:
daferrar
See Also:
The annotations can be found at: oracle.apps.fnd.appltest.diagfwk.api.annotations

Constructor Summary
AnnotationConverter()
          Constructor
 
Method Summary
 TestDefType createTestDefMetadata(java.lang.String pJavaClassName)
          Create a TestDefType object based on the passed in class.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationConverter

public AnnotationConverter()
Constructor

Method Detail

main

public static void main(java.lang.String[] args)

createTestDefMetadata

public TestDefType createTestDefMetadata(java.lang.String pJavaClassName)
Create a TestDefType object based on the passed in class. String passed in must include the package. i.e. oracle.mypkg.MyClass and the class must exist in the class path. Specified annotations are found in the class and used to create and fill a TestDefType object.

Parameters:
pJavaClassName - the full name of the class including the package
Returns:
a TestDefType object based on the annotations found in the passed file
Throws:
DiagfwkException - if the passed class can not be found or when required strings are missing.

Oracle Fusion Middleware extensions for Logging and Diagnostic
11g Release 1 (11.1.1.6)

E22565-06

Copyright © 2012 Oracle. All Rights Reserved.