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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
of
public static ObserverImpl of(Object extension,
Method observerMethod)
getType
public Type getType()
- Specified by:
getType
in interface Typed
getMethod
public Method getMethod()
- Specified by:
getMethod
in interface ObserverMethod
- Returns:
- the method
invoke
public boolean invoke(Manager manager,
Object event)
- Specified by:
invoke
in interface ObserverMethod
compareTo
public int compareTo(ObserverMethod o)
- Specified by:
compareTo
in interface Comparable<ObserverMethod>
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.