org.jboss.ejb
Class ContainerInterceptors

java.lang.Object
  |
  +--org.jboss.ejb.ContainerInterceptors

public class ContainerInterceptors
extends java.lang.Object

A utility class that manages the handling of the container-interceptors child element of the container-configuration.

Version:
$Revision: 1.1 $
Author:
Scott_Stark@displayscape.com

Field Summary
static int ANY
           
static int BMT
           
static int CMT
           
 
Constructor Summary
ContainerInterceptors()
           
 
Method Summary
static void addInterceptors(Container container, int transType, boolean metricsEnabled, org.w3c.dom.Element element)
          Given a container-interceptors element of a container-configuration, add the indicated interceptors to the container depending on the container transcation type and metricsEnabled flag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BMT

public static final int BMT

CMT

public static final int CMT

ANY

public static final int ANY
Constructor Detail

ContainerInterceptors

public ContainerInterceptors()
Method Detail

addInterceptors

public static void addInterceptors(Container container,
                                   int transType,
                                   boolean metricsEnabled,
                                   org.w3c.dom.Element element)
Given a container-interceptors element of a container-configuration, add the indicated interceptors to the container depending on the container transcation type and metricsEnabled flag.
Parameters:
container, - the container instance to setup.
transType, - one of the BMT, CMT or ANY constants.
metricsEnabled, - the ContainerFactoryMBean.metricsEnabled flag
element, - the container-interceptors element from the container-configuration.


Copyright © 2000 The JBoss Organization. All Rights Reserved.