com.ibatis.common.beans
Class ProbeFactory
java.lang.Object
com.ibatis.common.beans.ProbeFactory
public class ProbeFactory
- extends Object
An abstract factory for getting Probe implementations.
Method Summary |
static Probe |
getProbe()
Factory method for getting a Probe object |
static Probe |
getProbe(Object object)
Factory method for getting a Probe object that is
the best choice for the type of object supplied
by the object parameter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProbeFactory
public ProbeFactory()
getProbe
public static Probe getProbe()
- Factory method for getting a Probe object
- Returns:
- An implementation of the Probe interface
getProbe
public static Probe getProbe(Object object)
- Factory method for getting a Probe object that is
the best choice for the type of object supplied
by the object parameter.
- Parameters:
object
- The object to get a Probe for
- Returns:
- An implementation of the Probe interface
Copyright © 2010. All Rights Reserved.