org.jboss.weld.event
Class EventImpl<T>
java.lang.Object
org.jboss.weld.bean.builtin.facade.AbstractFacade<T,javax.enterprise.event.Event<T>>
org.jboss.weld.event.EventImpl<T>
- Type Parameters:
T - The type of event being wrapped
- All Implemented Interfaces:
- java.io.Serializable, javax.enterprise.event.Event<T>
public class EventImpl<T>
- extends AbstractFacade<T,javax.enterprise.event.Event<T>>
- implements javax.enterprise.event.Event<T>
Implementation of the Event interface
- Author:
- David Allen
- See Also:
Event,
Serialized Form
|
Method Summary |
void |
fire(T event)
|
static
|
of(java.lang.reflect.Type eventType,
BeanManagerImpl manager,
java.util.Set<java.lang.annotation.Annotation> bindings)
|
javax.enterprise.event.Event<T> |
select(java.lang.annotation.Annotation... bindings)
|
<U extends T>
javax.enterprise.event.Event<U> |
|
select(java.lang.Class<U> subtype,
java.lang.annotation.Annotation... bindings)
|
<U extends T>
javax.enterprise.event.Event<U> |
|
select(javax.enterprise.inject.TypeLiteral<U> subtype,
java.lang.annotation.Annotation... bindings)
|
<U extends T>
javax.enterprise.event.Event<U> |
|
selectEvent(java.lang.reflect.Type subtype,
java.lang.annotation.Annotation[] bindings)
|
java.lang.String |
toString()
Gets a string representation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
of
public static <E> EventImpl<E> of(java.lang.reflect.Type eventType,
BeanManagerImpl manager,
java.util.Set<java.lang.annotation.Annotation> bindings)
toString
public java.lang.String toString()
- Description copied from class:
AbstractFacade
- Gets a string representation
- Overrides:
toString in class AbstractFacade<T,javax.enterprise.event.Event<T>>
- Returns:
- A string representation
fire
public void fire(T event)
- Specified by:
fire in interface javax.enterprise.event.Event<T>
select
public javax.enterprise.event.Event<T> select(java.lang.annotation.Annotation... bindings)
- Specified by:
select in interface javax.enterprise.event.Event<T>
select
public <U extends T> javax.enterprise.event.Event<U> select(java.lang.Class<U> subtype,
java.lang.annotation.Annotation... bindings)
- Specified by:
select in interface javax.enterprise.event.Event<T>
select
public <U extends T> javax.enterprise.event.Event<U> select(javax.enterprise.inject.TypeLiteral<U> subtype,
java.lang.annotation.Annotation... bindings)
- Specified by:
select in interface javax.enterprise.event.Event<T>
selectEvent
public <U extends T> javax.enterprise.event.Event<U> selectEvent(java.lang.reflect.Type subtype,
java.lang.annotation.Annotation[] bindings)
Copyright © 2008-2009 Seam Framework. All Rights Reserved.