org.apache.webbeans.portable.events.generics
Class GProcessManagedBean
java.lang.Object
org.apache.webbeans.portable.events.ProcessBeanImpl<X>
org.apache.webbeans.portable.events.ProcessManagedBeanImpl
org.apache.webbeans.portable.events.generics.GProcessManagedBean
- All Implemented Interfaces:
- javax.enterprise.inject.spi.ProcessBean, javax.enterprise.inject.spi.ProcessManagedBean, GenericBeanEvent
public class GProcessManagedBean
- extends ProcessManagedBeanImpl
- implements GenericBeanEvent
|
Method Summary |
Class<?> |
getBeanClassFor(Class<?> eventClass)
If this is a Foo event and we are considering it as a Bar event,
returns the generic type of Foo as a Bar. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.enterprise.inject.spi.ProcessBean |
addDefinitionError, getAnnotated, getBean |
GProcessManagedBean
public GProcessManagedBean(ManagedBean<?> bean,
javax.enterprise.inject.spi.AnnotatedType<?> annotated)
getBeanClassFor
public Class<?> getBeanClassFor(Class<?> eventClass)
- Description copied from interface:
GenericBeanEvent
- If this is a Foo event and we are considering it as a Bar event,
returns the generic type of Foo as a Bar. Normally this is X, but in at least one case
(ProcessSessionBean) the generic type is different.
- Specified by:
getBeanClassFor in interface GenericBeanEvent
- Parameters:
eventClass - the class of event we are treating this event as
- Returns:
- the generic type parameter of this event considered as an "eventClass"
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.