## org.jboss.ejb.plugins
Class TxInterceptorBMT

    java.lang.Object
      |
      +--org.jboss.ejb.plugins.AbstractInterceptor
            |
            +--org.jboss.ejb.plugins.TxInterceptorBMT

All Implemented Interfaces:
  ContainerPlugin, Interceptor, Service

Direct Known Subclasses:
  MessageDrivenTxInterceptorBMT

public class TxInterceptorBMT
extends AbstractInterceptor

<description>

Version:
  $Revision: 1.16.4.3 $
Author:
  Marc Fleury, Sebastien Alborini, Peter Antman (peter.antman@tim.se), Anatoly Akkerman
See Also:
  <related>

Inner Class Summary
`static class` `TxInterceptorBMT.UserTxFactory`

Field Summary
`protected Container` `container`
`protected javax.transaction.TransactionManager` `tm`

Fields inherited from class org.jboss.ejb.plugins.AbstractInterceptor
`log, nextInterceptor`

Constructor Summary
`TxInterceptorBMT()`

Method Summary
`Container` `getContainer()`
`void` `init()`
`java.lang.Object` `invoke(MethodInvocation mi)` This method does invocation interpositioning of tx management
`java.lang.Object` `invokeHome(MethodInvocation mi)`
`void` `setContainer(Container container)` This callback is set by the container so that the plugin may access it
`void` `stop()`

Methods inherited from class org.jboss.ejb.plugins.AbstractInterceptor
`destroy, getNext, setNext, start`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### tm

    protected javax.transaction.TransactionManager tm

### container

    protected Container container

Constructor Detail

### TxInterceptorBMT

    public TxInterceptorBMT()

Method Detail

### setContainer

    public void setContainer(Container container)

  Description copied from interface: `ContainerPlugin`
  This callback is set by the container so that the plugin may access it
  Overrides:
    `setContainer` in class `AbstractInterceptor`
  Following copied from interface: `org.jboss.ejb.ContainerPlugin`
  Parameters:
    `con` - the container using this plugin

### getContainer

    public Container getContainer()

  Overrides:
    `getContainer` in class `AbstractInterceptor`

### init

    public void init()
              throws java.lang.Exception

  Overrides:
    `init` in class `AbstractInterceptor`

### stop

    public void stop()

  Overrides:
    `stop` in class `AbstractInterceptor`

### invokeHome

    public java.lang.Object invokeHome(MethodInvocation mi)
                                throws java.lang.Exception

  Overrides:
    `invokeHome` in class `AbstractInterceptor`

### invoke

    public java.lang.Object invoke(MethodInvocation mi)
                            throws java.lang.Exception

  This method does invocation interpositioning of tx management
  Overrides:
    `invoke` in class `AbstractInterceptor`
  Parameters:
    `id` -
    `m` -
    `args` -
  Returns:
  Throws:
    `java.lang.Exception` -

Copyright © 2000 The JBoss Organization. All Rights Reserved.