/** * Returns observer owner bean. * * @return the bean */ @Override @SuppressWarnings("unchecked") public Class<?> getBeanClass() { return ownerBean.getBeanClass(); }
/** * Gets type of the producer method/field or the bean class if it's not a producer. * This basically determines the class which will get created. * * @return type of the producer method * @see #getBeanClass() */ @Override public Class<T> getReturnType() { return (Class<T>) getBeanClass(); }
Type t = component.getBeanClass();
if (ejbPlugin != null && ejbPlugin.isNewSessionBean(ownerBean.getBeanClass()))