Interface Summary |
Event<T> |
{@code @Inject
private Event myEvent;
public void listen(@Observes OtherEvent otherEvent) {
// do something.. |
Injector |
{@code @Inject
private Instance inst;
public void listen(@Observes OtherEvent otherEvent) {
// do something.. |
Instance<T> |
{@code @Inject
private Instance myObjectInst;
public void listen(@Observes OtherEvent otherEvent) {
// do something.. |
InstanceProducer<T> |
{@code @Inject @ApplicationScoped
private InstanceProducer myObjectInst;
public void listen(@Observes OtherEvent otherEvent) {
// do something.. |