Package org.jboss.arquillian.core.impl
Class ObserverImpl
- java.lang.Object
-
- org.jboss.arquillian.core.impl.ObserverImpl
-
- All Implemented Interfaces:
Comparable<ObserverMethod>
,ObserverMethod
,Typed
public class ObserverImpl extends Object implements ObserverMethod, Comparable<ObserverMethod>
ObjectObserver- Version:
- $Revision: $
- Author:
- Aslak Knutsen
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ObserverMethod o)
Method
getMethod()
Type
getType()
boolean
invoke(Manager manager, Object event)
static ObserverImpl
of(Object extension, Method observerMethod)
-
-
-
Method Detail
-
of
public static ObserverImpl of(Object extension, Method observerMethod)
-
getMethod
public Method getMethod()
- Specified by:
getMethod
in interfaceObserverMethod
- Returns:
- the method
-
invoke
public boolean invoke(Manager manager, Object event)
- Specified by:
invoke
in interfaceObserverMethod
-
compareTo
public int compareTo(ObserverMethod o)
- Specified by:
compareTo
in interfaceComparable<ObserverMethod>
-
-