org.apache.openejb.assembler.classic
Class MethodConcurrencyBuilder
java.lang.Object
org.apache.openejb.assembler.classic.MethodConcurrencyBuilder
public class MethodConcurrencyBuilder
- extends Object
- Version:
- $Rev$ $Date$
| 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,BeanContext> deployments,
List<MethodConcurrencyInfo> methodConcurrencys)
throws OpenEJBException
- Throws:
OpenEJBException
applyConcurrencyAttributes
public static void applyConcurrencyAttributes(BeanContext beanContext,
List<MethodConcurrencyInfo> methodConcurrencyInfos)
throws OpenEJBException
- Throws:
OpenEJBException
normalize
public static void normalize(List<MethodConcurrencyInfo> infos,
List<MethodConcurrencyInfo> lockInfos,
List<MethodConcurrencyInfo> accessTimeoutInfos)
- 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 -
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.