roboguice.event
Class ObservesTypeListener.ContextObserverMethodInjector<I,T>

java.lang.Object
  extended by roboguice.event.ObservesTypeListener.ContextObserverMethodInjector<I,T>
Type Parameters:
I -
All Implemented Interfaces:
com.google.inject.spi.InjectionListener<I>
Enclosing class:
ObservesTypeListener

public static class ObservesTypeListener.ContextObserverMethodInjector<I,T>
extends Object
implements com.google.inject.spi.InjectionListener<I>

Injection listener to handle the observation manager registration.


Field Summary
protected  Class<T> event
           
protected  com.google.inject.Provider<EventManager> eventManagerProvider
           
protected  Method method
           
protected  EventListenerThreadingDecorator observerThreadingDecorator
           
protected  EventThread threadType
           
 
Constructor Summary
ObservesTypeListener.ContextObserverMethodInjector(com.google.inject.Provider<EventManager> eventManagerProvider, EventListenerThreadingDecorator observerThreadingDecorator, Method method, Class<T> event, EventThread threadType)
           
 
Method Summary
 void afterInjection(I i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

observerThreadingDecorator

protected EventListenerThreadingDecorator observerThreadingDecorator

eventManagerProvider

protected com.google.inject.Provider<EventManager> eventManagerProvider

method

protected Method method

event

protected Class<T> event

threadType

protected EventThread threadType
Constructor Detail

ObservesTypeListener.ContextObserverMethodInjector

public ObservesTypeListener.ContextObserverMethodInjector(com.google.inject.Provider<EventManager> eventManagerProvider,
                                                          EventListenerThreadingDecorator observerThreadingDecorator,
                                                          Method method,
                                                          Class<T> event,
                                                          EventThread threadType)
Method Detail

afterInjection

public void afterInjection(I i)
Specified by:
afterInjection in interface com.google.inject.spi.InjectionListener<I>


Copyright © 2012. All Rights Reserved.