com.ibatis.common.beans
Class ProbeFactory

java.lang.Object
  extended bycom.ibatis.common.beans.ProbeFactory

public class ProbeFactory
extends java.lang.Object

An abstract factory for getting Probe implementations.


Constructor Summary
ProbeFactory()
           
 
Method Summary
static Probe getProbe()
          Factory method for getting a Probe object
static Probe getProbe(java.lang.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
 

Constructor Detail

ProbeFactory

public ProbeFactory()
Method Detail

getProbe

public static Probe getProbe()
Factory method for getting a Probe object

Returns:
An implementation of the Probe interface

getProbe

public static Probe getProbe(java.lang.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