public void addSessionBean(SessionBean<?> bean) {
   Preconditions.checkArgument(bean instanceof AbstractClassBean<?>, bean);
   addAbstractClassBean((AbstractClassBean<?>) bean);
 }
 public void addManagedBean(ManagedBean<?> bean) {
   addAbstractClassBean(bean);
 }