org.apache.openejb.assembler.classic
Class MethodTransactionBuilder
java.lang.Object
org.apache.openejb.assembler.classic.MethodTransactionBuilder
public class MethodTransactionBuilder
- extends Object
- Version:
- $Rev: 646077 $ $Date: 2008-04-08 23:25:16 +0200 (Di, 08. Apr 2008) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static final Logger logger
MethodTransactionBuilder
public MethodTransactionBuilder()
build
public void build(HashMap<String,DeploymentInfo> deployments,
List<MethodTransactionInfo> methodTransactions)
throws OpenEJBException
- Throws:
OpenEJBException
applyTransactionAttributes
public static void applyTransactionAttributes(CoreDeploymentInfo deploymentInfo,
List<MethodTransactionInfo> methodTransactionInfos)
throws OpenEJBException
- Throws:
OpenEJBException
normalize
public static List<MethodTransactionInfo> normalize(List<MethodTransactionInfo> infos)
- This method splits the MethodTransactionInfo objects so that there is
exactly one MethodInfo per MethodTransactionInfo. A single MethodTransactionInfo
with three MethodInfos would be expanded into three MethodTransactionInfo with
one MethodInfo each.
The MethodTransactionInfo list is then sorted from least to most specific.
- Parameters:
infos
-
- Returns:
- a normalized list of new MethodTransactionInfo objects
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.