net.m2technologies.open_arm.tranreport
Class ArmTranReportImpl

java.lang.Object
  extended bynet.m2technologies.open_arm.transaction.ArmInterfaceImpl
      extended bynet.m2technologies.open_arm.tranreport.ArmTranReportImpl
All Implemented Interfaces:
ArmInterface, ArmTranReport
Direct Known Subclasses:
ArmTranReportWithMetricsImpl

public class ArmTranReportImpl
extends ArmInterfaceImpl
implements ArmTranReport

Copyright 2005 Mark Masterson

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Description:

Version:
0.009
Author:
Mark Masterson

Field Summary
 
Fields inherited from class net.m2technologies.open_arm.transaction.ArmInterfaceImpl
HASH_CODE_MAGIC_NUMBER
 
Constructor Summary
ArmTranReportImpl(ArmTransactionFactory creatingFactory)
           
 
Method Summary
 ArmCorrelator generateCorrelator()
           
 ArmApplication getApplication()
           
 java.lang.String getContextURIValue()
           
 java.lang.String getContextValue(int index)
           
 ArmCorrelator getCorrelator()
           
 ArmTransactionDefinition getDefinition()
           
 ArmCorrelator getParentCorrelator()
           
 long getResponseTime()
           
 int getStatus()
           
 ArmUser getUser()
           
 int report(int status, long respTime)
           
 int report(int status, long respTime, long stopTime)
           
 int report(int status, long respTime, long stopTime, java.lang.String diagnosticDetail)
           
 int report(int status, long respTime, java.lang.String diagnosticDetail)
           
 int setContextURIValue(java.lang.String value)
           
 int setContextValue(int index, java.lang.String value)
           
 int setParentCorrelator(ArmCorrelator parent)
           
 int setUser(ArmUser user)
           
 
Methods inherited from class net.m2technologies.open_arm.transaction.ArmInterfaceImpl
getCreatingFactory, getErrorCode, getErrorMessage, setErrorCode, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.opengroup.arm40.transaction.ArmInterface
getErrorCode, getErrorMessage, setErrorCode
 

Constructor Detail

ArmTranReportImpl

public ArmTranReportImpl(ArmTransactionFactory creatingFactory)
Method Detail

generateCorrelator

public ArmCorrelator generateCorrelator()
Specified by:
generateCorrelator in interface ArmTranReport

getApplication

public ArmApplication getApplication()
Specified by:
getApplication in interface ArmTranReport

getContextURIValue

public java.lang.String getContextURIValue()
Specified by:
getContextURIValue in interface ArmTranReport

getContextValue

public java.lang.String getContextValue(int index)
Specified by:
getContextValue in interface ArmTranReport

getCorrelator

public ArmCorrelator getCorrelator()
Specified by:
getCorrelator in interface ArmTranReport

getParentCorrelator

public ArmCorrelator getParentCorrelator()
Specified by:
getParentCorrelator in interface ArmTranReport

getResponseTime

public long getResponseTime()
Specified by:
getResponseTime in interface ArmTranReport

getStatus

public int getStatus()
Specified by:
getStatus in interface ArmTranReport

getDefinition

public ArmTransactionDefinition getDefinition()
Specified by:
getDefinition in interface ArmTranReport

getUser

public ArmUser getUser()
Specified by:
getUser in interface ArmTranReport

report

public int report(int status,
                  long respTime)
Specified by:
report in interface ArmTranReport

report

public int report(int status,
                  long respTime,
                  long stopTime)
Specified by:
report in interface ArmTranReport

report

public int report(int status,
                  long respTime,
                  java.lang.String diagnosticDetail)
Specified by:
report in interface ArmTranReport

report

public int report(int status,
                  long respTime,
                  long stopTime,
                  java.lang.String diagnosticDetail)
Specified by:
report in interface ArmTranReport

setContextURIValue

public int setContextURIValue(java.lang.String value)
Specified by:
setContextURIValue in interface ArmTranReport

setContextValue

public int setContextValue(int index,
                           java.lang.String value)
Specified by:
setContextValue in interface ArmTranReport

setParentCorrelator

public int setParentCorrelator(ArmCorrelator parent)
Specified by:
setParentCorrelator in interface ArmTranReport

setUser

public int setUser(ArmUser user)
Specified by:
setUser in interface ArmTranReport