org.apache.openejb.assembler.classic
Class MethodTransactionBuilder
java.lang.Object
org.apache.openejb.assembler.classic.MethodTransactionBuilder
public class MethodTransactionBuilder
- extends java.lang.Object
- Version:
- $Rev: 646050 $ $Date: 2008-04-08 21:46:04 +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(java.util.HashMap<java.lang.String,DeploymentInfo> deployments,
java.util.List<MethodTransactionInfo> methodTransactions)
throws OpenEJBException
- Throws:
OpenEJBException
applyTransactionAttributes
public static void applyTransactionAttributes(CoreDeploymentInfo deploymentInfo,
java.util.List<MethodTransactionInfo> methodTransactionInfos)
throws OpenEJBException
- Throws:
OpenEJBException
normalize
public static java.util.List<MethodTransactionInfo> normalize(java.util.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.