roboguice.event
Class ObservesTypeListener.ContextObserverMethodInjector<I,T>
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
ObservesTypeListener.ContextObserverMethodInjector
public ObservesTypeListener.ContextObserverMethodInjector(com.google.inject.Provider<EventManager> eventManagerProvider,
EventListenerThreadingDecorator observerThreadingDecorator,
Method method,
Class<T> event,
EventThread threadType)
afterInjection
public void afterInjection(I i)
- Specified by:
afterInjection
in interface com.google.inject.spi.InjectionListener<I>
Copyright © 2012. All Rights Reserved.