|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MfTransactionFactory provides methods to create the transaction API objects.
Method Summary | |
MfTranReport |
newTranReport(MfTransactionDefinition definition,
MfTranReport parentTrans)
Creates a new transaction report. |
MfTransaction |
newTransaction(MfTransactionDefinition definition,
MfTransaction parentTrans)
Creates a new transaction. |
MfTransactionDefinition |
newTransactionDefinition(java.lang.String name,
java.lang.String uri,
MfTransactionMetrics transMetrics)
Creates a new transaction type. |
MfTransactionDefinition |
newTransactionDefinition(java.lang.String name,
java.lang.String uri,
MfTransactionMetrics transMetrics,
boolean hasComputingInfo)
Creates a new transaction type. |
Method Detail |
public MfTransactionDefinition newTransactionDefinition(java.lang.String name, java.lang.String uri, MfTransactionMetrics transMetrics)
name
- name of the transaction type.uri
- the related URI.transMetrics
- the transaction metrics MBean.
public MfTransactionDefinition newTransactionDefinition(java.lang.String name, java.lang.String uri, MfTransactionMetrics transMetrics, boolean hasComputingInfo)
name
- name of the transaction type.uri
- the related URI.transMetrics
- the transaction metrics MBean.hasComputingInfo
- only valid for parent transactions: if true, the corresponding transaction has its own computing metrics.If false, the parent transaction is only an aggregation of a set of transactions. The default is true.
public MfTransaction newTransaction(MfTransactionDefinition definition, MfTransaction parentTrans)
definition
- the related MfTransactionDefinition (ie transaction type).parentTrans
- the parent transaction. May be null.
public MfTranReport newTranReport(MfTransactionDefinition definition, MfTranReport parentTrans)
definition
- the related MfTransactionDefinition (ie transaction type).parentTrans
- the parent transaction. May be null.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |