Boolean initOnStartup = singletonBeanMetaData.isInitOnStartup();
if (initOnStartup != null && initOnStartup.booleanValue() == true) {
singletonComponentDescription.initOnStartup();
}
// bean level lock-type
LockType lockType = singletonBeanMetaData.getLockType();
singletonComponentDescription.setBeanLevelLockType(lockType);
// add method level lock type to the description
ConcurrentMethodsMetaData concurrentMethods = singletonBeanMetaData.getConcurrentMethods();
if (concurrentMethods != null) {
for (ConcurrentMethodMetaData concurrentMethod : concurrentMethods) {
LockType methodLockType = concurrentMethod.getLockType();
EJBMethodDescription method = this.getEJBMethodDescription(concurrentMethod.getMethod());
singletonComponentDescription.setLockType(methodLockType, method);
}
}