com.caucho.config.event
Class AbstractObserverMethod<T>

java.lang.Object
  extended by com.caucho.config.event.AbstractObserverMethod<T>
All Implemented Interfaces:
ObserverMethod<T>
Direct Known Subclasses:
ObserverImpl, ObserverMethodImpl

@Module
public abstract class AbstractObserverMethod<T>
extends java.lang.Object
implements ObserverMethod<T>

Common bean introspection for Produces and ManagedBean.


Constructor Summary
AbstractObserverMethod()
           
 
Method Summary
 java.lang.Class<?> getBeanClass()
           
 java.util.Set<java.lang.annotation.Annotation> getObservedQualifiers()
           
 java.lang.reflect.Type getObservedType()
           
 Reception getReception()
           
 TransactionPhase getTransactionPhase()
           
abstract  void notify(T event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractObserverMethod

public AbstractObserverMethod()
Method Detail

getBeanClass

public java.lang.Class<?> getBeanClass()
Specified by:
getBeanClass in interface ObserverMethod<T>

getObservedType

public java.lang.reflect.Type getObservedType()
Specified by:
getObservedType in interface ObserverMethod<T>

getObservedQualifiers

public java.util.Set<java.lang.annotation.Annotation> getObservedQualifiers()
Specified by:
getObservedQualifiers in interface ObserverMethod<T>

getReception

public Reception getReception()
Specified by:
getReception in interface ObserverMethod<T>

getTransactionPhase

public TransactionPhase getTransactionPhase()
Specified by:
getTransactionPhase in interface ObserverMethod<T>

notify

public abstract void notify(T event)
Specified by:
notify in interface ObserverMethod<T>