remove.retainIfException = removeMethod.getRetainIfException();
stateful.removeMethods.add(remove);
}
} else if (s.getSessionType() == SessionType.MANAGED) {
bean = new ManagedBeanInfo();
ManagedBeanInfo managed = ((ManagedBeanInfo) bean);
copyCallbacks(s.getPostActivate(), managed.postActivate);
copyCallbacks(s.getPrePassivate(), managed.prePassivate);
for (RemoveMethod removeMethod : s.getRemoveMethod()) {