this.methodApplicableLockTypes = Collections.emptyMap();
} else {
final Map<EJBBusinessMethod, LockType> locks = new HashMap<EJBBusinessMethod, LockType>();
for (Map.Entry<MethodIdentifier, LockType> entry : methodLocks.entrySet()) {
final MethodIdentifier ejbMethodDescription = entry.getKey();
final EJBBusinessMethod ejbMethod = this.getEJBBusinessMethod(ejbMethodDescription);
locks.put(ejbMethod, entry.getValue());
}
this.methodApplicableLockTypes = Collections.unmodifiableMap(locks);
}
this.beanLevelAccessTimeout = sessionBeanComponentDescription.getBeanLevelAccessTimeout();
final Map<MethodIdentifier, AccessTimeoutDetails> methodAccessTimeouts = sessionBeanComponentDescription.getMethodApplicableAccessTimeouts();
if (methodAccessTimeouts == null) {
this.methodApplicableAccessTimeouts = Collections.emptyMap();
} else {
final Map<EJBBusinessMethod, AccessTimeoutDetails> accessTimeouts = new HashMap<EJBBusinessMethod, AccessTimeoutDetails>();
for (Map.Entry<MethodIdentifier, AccessTimeoutDetails> entry : methodAccessTimeouts.entrySet()) {
final MethodIdentifier ejbMethodDescription = entry.getKey();
final EJBBusinessMethod ejbMethod = this.getEJBBusinessMethod(ejbMethodDescription);
accessTimeouts.put(ejbMethod, entry.getValue());
}
this.methodApplicableAccessTimeouts = Collections.unmodifiableMap(accessTimeouts);
}