org.barracudamvc.core.util.srv
Class SimpleServiceFinder
java.lang.Object
org.barracudamvc.plankton.srv.SimpleServiceFinder
org.barracudamvc.core.util.srv.SimpleServiceFinder
public class SimpleServiceFinder
- extends SimpleServiceFinder
Similar to org.barracudamvc.plankton.srv.SimpleServiceProvider,
except that it will also search EventGateway heirarchies.
Field Summary |
protected static org.apache.log4j.Logger |
logger
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final org.apache.log4j.Logger logger
SimpleServiceFinder
public SimpleServiceFinder()
findInstance
public static Object findInstance(Class c,
EventGateway gateway)
- Find an instance of a Class in an EventGateway heirarchy. Search
direction defaults to UPSTREAM
- Parameters:
c
- the class we're looking forgateway
- the entry point to the EventGateway heirarchy
- Returns:
- the first instance of the specified class
findInstance
public static Object findInstance(Class c,
EventGateway gateway,
int searchDirection)
- Find an instance of a Class in an EventGateway heirarchy
- Parameters:
c
- the class we're looking forgateway
- the entry point to the EventGateway heirarchysearchDirection
- the search direction
- Returns:
- the first instance of the specified class
Copyright © 2006 BarracudaMVC.org All Rights Reserved.