Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.mfwk.trans
Interface MfTransactionDefinition

All Superinterfaces:
  MfTranInterface

public interface MfTransactionDefinition
extends MfTranInterface

MfTransactionDefinition defines a transaction type. It is created with the newTransactionDefinition() method of MfTransactionFactory.

Method Summary
`int` | `getID()` Returns the generated ID of the transaction type.
`java.lang.String` | `getName()` Returns the name of the transaction type.
`MfTransactionMetrics` | `getTransactionMetrics()` Returns the transaction metrics MBean for this transaction type.
`java.lang.String` | `getUri()` Returns the uri of the transaction type.
`boolean` | `hasComputingInfo()` Check if this transaction definition has its own computing metrics.

Methods inherited from interface com.sun.mfwk.trans.MfTranInterface
`getErrorCode, getErrorMessage, setErrorCode`

Method Detail

### getName

    public java.lang.String getName()

  Returns the name of the transaction type.

### getUri

    public java.lang.String getUri()

  Returns the uri of the transaction type.

### getID

    public int getID()

  Returns the generated ID of the transaction type.

### getTransactionMetrics

    public MfTransactionMetrics getTransactionMetrics()

  Returns the transaction metrics MBean for this transaction type.

### hasComputingInfo

    public boolean hasComputingInfo()

  Check if this transaction definition has its own computing metrics. Only valid for parent transactions.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD