TPTP 4.6.0 Tracing and Profiling Tools Project
Internal API Specification

org.eclipse.tptp.trace.arm.internal.model.impl
Class AbstractDataImpl

java.lang.Object
  extended by org.eclipse.tptp.trace.arm.internal.model.impl.AbstractDataImpl
All Implemented Interfaces:
InstrumentDataProvider
Direct Known Subclasses:
EJBDataImpl, GenericDataImpl, J2CDataImpl, JDBCDataImpl, JMSDataImpl, ServletDataImpl, WebServiceDataImpl

public abstract class AbstractDataImpl
extends java.lang.Object
implements InstrumentDataProvider

AbstractDataImpl represents the data needed to created a completed transaction.


Field Summary
static java.lang.String CONTEXT_NAME_COMPONENT
           
static java.lang.String CONTEXT_NAME_DISPLAY_NAME
           
static java.lang.String CONTEXT_NAME_PROTOCOL
           
static java.lang.String CONTEXT_NAME_SERVER_PORT
           
 
Constructor Summary
AbstractDataImpl()
          Constructor.
 
Method Summary
protected  void addMethodArguments(java.util.List contextValues)
           
 java.lang.String getClassName()
          Returns the class name
 org.opengroup.arm40.transaction.ArmCorrelator getCorrelator()
          Returns the parent correlator.
 java.lang.Object[] getMethodArguments()
          Retuns an array of method arguments
 java.lang.String getMethodName()
          Returns the method name
 java.lang.Object getObject()
          Returns the object
 java.lang.String getTransactionName()
          Returns the transaction name
 java.lang.String getUserName()
          Returns the user name
 void setClassName(java.lang.String className)
          Sets the class name
 void setCorrelator(org.opengroup.arm40.transaction.ArmCorrelator checkCorObject)
          Retrieves the parent correlator from the object.
 void setMethodArguments(java.lang.Object[] methodArguments)
          Sets the array of method arguments
 void setMethodName(java.lang.String methodName)
          Sets the method name
 void setObject(java.lang.Object object)
          Sets the object
 void setUserName(java.lang.String userName)
          Sets the user name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.tptp.trace.arm.internal.model.InstrumentDataProvider
getContextTypes, getContextValues, getTransactionObjectType, objectInstanceOfClass
 

Field Detail

CONTEXT_NAME_PROTOCOL

public static final java.lang.String CONTEXT_NAME_PROTOCOL
See Also:
Constant Field Values

CONTEXT_NAME_SERVER_PORT

public static final java.lang.String CONTEXT_NAME_SERVER_PORT
See Also:
Constant Field Values

CONTEXT_NAME_DISPLAY_NAME

public static final java.lang.String CONTEXT_NAME_DISPLAY_NAME
See Also:
Constant Field Values

CONTEXT_NAME_COMPONENT

public static final java.lang.String CONTEXT_NAME_COMPONENT
See Also:
Constant Field Values
Constructor Detail

AbstractDataImpl

public AbstractDataImpl()
Constructor.

Method Detail

getClassName

public java.lang.String getClassName()
Returns the class name

Specified by:
getClassName in interface InstrumentDataProvider
Returns:
the class name

getCorrelator

public org.opengroup.arm40.transaction.ArmCorrelator getCorrelator()
Returns the parent correlator.

Specified by:
getCorrelator in interface InstrumentDataProvider
Returns:
the parent correltor

getMethodArguments

public java.lang.Object[] getMethodArguments()
Retuns an array of method arguments

Specified by:
getMethodArguments in interface InstrumentDataProvider
Returns:
the method arguments

getMethodName

public java.lang.String getMethodName()
Returns the method name

Specified by:
getMethodName in interface InstrumentDataProvider
Returns:
the mehod name

getObject

public java.lang.Object getObject()
Returns the object

Specified by:
getObject in interface InstrumentDataProvider
Returns:
the object

getTransactionName

public java.lang.String getTransactionName()
Returns the transaction name

Specified by:
getTransactionName in interface InstrumentDataProvider
Returns:
the transaction name

getUserName

public java.lang.String getUserName()
Returns the user name

Specified by:
getUserName in interface InstrumentDataProvider
Returns:
the user name

setClassName

public void setClassName(java.lang.String className)
Sets the class name

Specified by:
setClassName in interface InstrumentDataProvider
Parameters:
className - the class name

setCorrelator

public void setCorrelator(org.opengroup.arm40.transaction.ArmCorrelator checkCorObject)
Retrieves the parent correlator from the object.

Specified by:
setCorrelator in interface InstrumentDataProvider
Parameters:
checkCorObject - The object that holds the parent correltor

setMethodArguments

public void setMethodArguments(java.lang.Object[] methodArguments)
Sets the array of method arguments

Specified by:
setMethodArguments in interface InstrumentDataProvider
Parameters:
methodArguments - the method arguments

addMethodArguments

protected void addMethodArguments(java.util.List contextValues)

setMethodName

public void setMethodName(java.lang.String methodName)
Sets the method name

Specified by:
setMethodName in interface InstrumentDataProvider
Parameters:
methodName - the method name

setObject

public void setObject(java.lang.Object object)
Sets the object

Specified by:
setObject in interface InstrumentDataProvider
Parameters:
object - the object

setUserName

public void setUserName(java.lang.String userName)
Sets the user name

Specified by:
setUserName in interface InstrumentDataProvider
Parameters:
userName - the user name

TPTP 4.6.0 Tracing and Profiling Tools Project
Internal API Specification