com.ibm.dtfj.analyzer.was.wrappers
Class OneWASThread

java.lang.Object
  extended by SimpleAnalyzerBean
      extended by com.ibm.dtfj.analyzer.was.wrappers.OneWASThread

public class OneWASThread
extends SimpleAnalyzerBean

Print and extract WAS-related information about one DTFJ JavaThread object


Constructor Summary
OneWASThread()
          Null constructor for use as JavaBean
 
Method Summary
 void declareExtensions(SimpleExtensionRegistry registry)
           
static OneWASThread getInstance(IAnalyzerContext context, com.ibm.dtfj.java.JavaThread parent)
          Find the OneWASThread bean instance associated with a given parent JavaThread (create it if necessary)
 long getWASThreadID()
           
 IAnalysisReport produceReport()
           
 void setParent(java.lang.Object parent)
          Set the parent JavaThread underlying this analyzer bean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OneWASThread

public OneWASThread()
Null constructor for use as JavaBean

Method Detail

getInstance

public static OneWASThread getInstance(IAnalyzerContext context,
                                       com.ibm.dtfj.java.JavaThread parent)
Find the OneWASThread bean instance associated with a given parent JavaThread (create it if necessary)

Parameters:
context - the AnalyzerContext in which to locate this bean instance
parent - the parent JavaThread underlying this analyzer bean
Returns:
the desired OneWASThread analyzer bean

setParent

public void setParent(java.lang.Object parent)
Set the parent JavaThread underlying this analyzer bean.

Parameters:
parent - The parent object to set. Must be of type JavaThread. compatible with the type of analyzer bean that receives it

getWASThreadID

public long getWASThreadID()
                    throws com.ibm.dtfj.image.DTFJException
Returns:
the WAS thread ID for this thread (used in log/trace messages)
Throws:
com.ibm.dtfj.image.DTFJException

produceReport

public IAnalysisReport produceReport()
See Also:
com.ibm.dtfj.analyzer.ext.IReport#produceReport()

declareExtensions

public void declareExtensions(SimpleExtensionRegistry registry)
See Also:
com.ibm.dtfj.analyzer.ext.IDeclareExtensions#declareExtensions(com.ibm.dtfj.analyzer.internal.reportextensions.SimpleExtensionRegistry)


© Copyright IBM Corp. 2007, 2008 All Rights Reserved. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.