Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1.9.0)

E52934-01


oracle.adfinternal.share.diagnostics
Class ADFDiagnosticsUtility

java.lang.Object
  extended by oracle.adfinternal.share.diagnostics.ADFDiagnosticsUtility


public class ADFDiagnosticsUtility
extends java.lang.Object

Nested Class Summary
static class ADFDiagnosticsUtility.MessageType
           

 

Field Summary
static java.util.List<ADFDiagnosticsUtility.MessageType> ADF_REQUEST_LOG_LEVELS
           
static java.util.List<java.lang.String> ADF_REQUEST_LOG_MSGS
           

 

Constructor Summary
ADFDiagnosticsUtility()
           

 

Method Summary
static java.lang.String export()
           
 oracle.core.ojdl.query.LogResultSet exportADFRequestLogRecords(java.lang.String[] ecids)
           
 java.util.List<java.net.URL> getADFRuntimeJarManifestUrls()
          Get the list of MANIFEST.MF urls inside jars that comprise the ADF runtime.
static java.lang.String[][] getADFRuntimeVersionInfo()
          Interrogate all of the jars in the ADF runtime, and return a string in csv format with all of the version information.
 java.lang.String getAllJarsVersion()
           
 java.util.List<java.net.URL> getJarManifestUrls()
          get the list of MANIFEST.MF urls for jars on the current classloader, and cache it away in ADFContext.
protected  java.net.URL[] getSelectedJarsFromConfig()
           
 java.lang.String getSelectedJarsVersion()
          Get jars versions of selected jars from config file.
 java.lang.String getSelectedJarsVersion(java.lang.String jars)
           
static void main(java.lang.String[] _args)
          If this class is invoked standalone it prints version information about JDEVADF jars to the console.
protected  java.lang.String resolveJarsPath(java.lang.String jars)
           
protected static java.util.Set<java.net.URL> validTokens(java.lang.String jars)
           

 

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

 

Field Detail

ADF_REQUEST_LOG_LEVELS

public static final java.util.List<ADFDiagnosticsUtility.MessageType> ADF_REQUEST_LOG_LEVELS

ADF_REQUEST_LOG_MSGS

public static final java.util.List<java.lang.String> ADF_REQUEST_LOG_MSGS

Constructor Detail

ADFDiagnosticsUtility

public ADFDiagnosticsUtility()

Method Detail

resolveJarsPath

protected java.lang.String resolveJarsPath(java.lang.String jars)

getJarManifestUrls

public java.util.List<java.net.URL> getJarManifestUrls()
                                                throws java.io.IOException
get the list of MANIFEST.MF urls for jars on the current classloader, and cache it away in ADFContext.
Returns:
Throws:
java.io.IOException

getADFRuntimeJarManifestUrls

public java.util.List<java.net.URL> getADFRuntimeJarManifestUrls()
                                                          throws java.io.IOException
Get the list of MANIFEST.MF urls inside jars that comprise the ADF runtime. these jars are defined by the feature jars in oracle_common/modules/feature adf-share adf-share-ca and adf-model TODO: possibly generate an extra feature jar for ADFViewController
Returns:
Throws:
java.io.IOException

getSelectedJarsVersion

public java.lang.String getSelectedJarsVersion()
Get jars versions of selected jars from config file.
Returns:

getSelectedJarsVersion

public java.lang.String getSelectedJarsVersion(java.lang.String jars)

getAllJarsVersion

public java.lang.String getAllJarsVersion()

validTokens

protected static java.util.Set<java.net.URL> validTokens(java.lang.String jars)

getSelectedJarsFromConfig

protected java.net.URL[] getSelectedJarsFromConfig()

exportADFRequestLogRecords

public oracle.core.ojdl.query.LogResultSet exportADFRequestLogRecords(java.lang.String[] ecids)
                                                               throws oracle.core.ojdl.query.LogQueryException
Throws:
oracle.core.ojdl.query.LogQueryException

export

public static java.lang.String export()
                               throws java.lang.Exception
Throws:
java.lang.Exception

getADFRuntimeVersionInfo

public static java.lang.String[][] getADFRuntimeVersionInfo()
Interrogate all of the jars in the ADF runtime, and return a string in csv format with all of the version information. The first line is a header row. Jar Path,Oracle-Version,Oracle-Label,Oracle-Internal-Release,Oracle-Builder,Oracle-BuildTimestamp,Specification-Version,Implementation-Version Here's a sample row Jar Path = file:/ade/kmchorto_mainada/oracle/oracle_common/modules/oracle.mds_11.1.1/mdsrt.jar, Oracle-Version = 11.1.1.0.42.140811.0101, Oracle-Label = JDEVADF_11.1.1_GENERIC_140811.0101.S, Oracle-Internal-Release = None, Oracle-Builder = user=aime host=slc03tux, Oracle-BuildTimestamp = 2014-08-11 01:46:09 -0700, Specification-Version = , Implementation-Version = file:/ade/kmchorto_mainada/oracle/oracle_common/modules/oracle.mds_11.1.1/mdslcm.jar,11.1.1.0.42.140811.0101,JDEVADF_MAIN_GENERIC_140811.0101.S,None,user=aime host=slc03tux,2014-08-11 02:17:09 -0700,,
Returns:

main

public static void main(java.lang.String[] _args)
If this class is invoked standalone it prints version information about JDEVADF jars to the console. java -cp $MW_ORA_HOME/modules/oracle.adf.share_11.1.1/adf-share-support.jar: $MW_ORA_HOME/modules/oracle.odl_11.1.1/ojdl2.jar: $MW_ORA_HOME/modules/oracle.odl_11.1.1/ojdl.jar: $MW_ORA_HOME/modules/oracle.adf.share.ca_11.1.1/adf-share-base.jar: $MW_ORA_HOME/modules/oracle.adf.share.ca_11.1.1/adf-share-ca.jar: $MW_ORA_HOME/modules/oracle.adf.share_11.1.1/adflogginghandler.jar: $MW_ORA_HOME/modules/oracle.jrf_11.1.1/jrf-api.jar oracle.adfinternal.share.diagnostics.ADFDiagnosticsUtility
Parameters:
args -

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1.9.0)

E52934-01


Copyright © 1997, 2015, Oracle. All rights reserved.