org.apache.openejb.assembler.classic
Class MethodConcurrencyBuilder
java.lang.Object
org.apache.openejb.assembler.classic.MethodConcurrencyBuilder
public class MethodConcurrencyBuilder
- extends Object
- Version:
- $Rev: 710022 $ $Date: 2008-11-03 09:40:14 +0100 (Mo, 03. Nov 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
MethodConcurrencyBuilder
public MethodConcurrencyBuilder()
build
public void build(HashMap<String,DeploymentInfo> deployments,
List<MethodConcurrencyInfo> methodConcurrencys)
throws OpenEJBException
- Throws:
OpenEJBException
applyConcurrencyAttributes
public static void applyConcurrencyAttributes(CoreDeploymentInfo deploymentInfo,
List<MethodConcurrencyInfo> methodConcurrencyInfos)
throws OpenEJBException
- Throws:
OpenEJBException
normalize
public static List<MethodConcurrencyInfo> normalize(List<MethodConcurrencyInfo> infos)
- This method splits the MethodConcurrencyInfo objects so that there is
exactly one MethodInfo per MethodConcurrencyInfo. A single MethodConcurrencyInfo
with three MethodInfos would be expanded into three MethodConcurrencyInfo with
one MethodInfo each.
The MethodConcurrencyInfo list is then sorted from least to most specific.
- Parameters:
infos
-
- Returns:
- a normalized list of new MethodConcurrencyInfo objects
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.