com.caucho.config.event
Class ObserverImpl<X,T>
java.lang.Object
com.caucho.config.event.AbstractObserverMethod<T>
com.caucho.config.event.ObserverImpl<X,T>
- All Implemented Interfaces:
- ObserverMethod<T>
public class ObserverImpl<X,T>
- extends AbstractObserverMethod<T>
Implements a single observer.
Method Summary |
void |
bind()
|
boolean |
equals(java.lang.Object obj)
|
protected static java.lang.String |
getSimpleName(java.lang.reflect.Type type)
|
java.lang.Class<?> |
getType()
|
void |
init()
Initialization. |
void |
notify(java.lang.Object event)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ObserverImpl
public ObserverImpl(InjectManager webBeans,
Bean<X> bean,
java.lang.reflect.Method method,
int paramIndex)
getType
public java.lang.Class<?> getType()
init
public void init()
- Initialization.
bind
public void bind()
notify
public void notify(java.lang.Object event)
- Specified by:
notify
in interface ObserverMethod<T>
- Specified by:
notify
in class AbstractObserverMethod<T>
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getSimpleName
protected static java.lang.String getSimpleName(java.lang.reflect.Type type)