Package org.jboss.weld.event
Class EventMetadataImpl
- java.lang.Object
-
- org.jboss.weld.event.EventMetadataImpl
-
- All Implemented Interfaces:
EventMetadata
public final class EventMetadataImpl extends Object implements EventMetadata
SimpleEventMetadataimplementation.- Author:
- Jozef Hartinger
-
-
Constructor Summary
Constructors Constructor Description EventMetadataImpl(Type type, InjectionPoint injectionPoint, Annotation[] qualifiers)EventMetadataImpl(Type type, InjectionPoint injectionPoint, Set<Annotation> qualifiers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InjectionPointgetInjectionPoint()Get theInjectionPointrepresenting the injectedEventinstance which fired the event, ornullif it was fired fromBeanManager.fireEvent(Object, Annotation...);Set<Annotation>getQualifiers()TypegetType()Get the type representing runtime class of the event object with type variables resolved.StringtoString()
-
-
-
Constructor Detail
-
EventMetadataImpl
public EventMetadataImpl(Type type, InjectionPoint injectionPoint, Set<Annotation> qualifiers)
-
EventMetadataImpl
public EventMetadataImpl(Type type, InjectionPoint injectionPoint, Annotation[] qualifiers)
-
-
Method Detail
-
getQualifiers
public Set<Annotation> getQualifiers()
- Specified by:
getQualifiersin interfaceEventMetadata- Returns:
- the qualifiers for which event payload was fired.
-
getInjectionPoint
public InjectionPoint getInjectionPoint()
Description copied from interface:EventMetadataGet theInjectionPointrepresenting the injectedEventinstance which fired the event, ornullif it was fired fromBeanManager.fireEvent(Object, Annotation...);- Specified by:
getInjectionPointin interfaceEventMetadata- Returns:
- InjectionPoint of the Event
-
getType
public Type getType()
Description copied from interface:EventMetadataGet the type representing runtime class of the event object with type variables resolved.- Specified by:
getTypein interfaceEventMetadata- Returns:
- the runtime type of the event object
-
-