io.leopard.autounit.inject
Class InjectDaoImpl

java.lang.Object
  extended by io.leopard.autounit.inject.AbstractInject
      extended by io.leopard.autounit.inject.InjectDaoImpl
All Implemented Interfaces:
Inject

public class InjectDaoImpl
extends AbstractInject


Constructor Summary
InjectDaoImpl()
           
 
Method Summary
 boolean clean()
          清空数据.
protected  java.lang.Class<?> findClass(java.lang.Class<?> type, java.lang.String fieldName)
           
 Inject inject(java.lang.Object bean, java.lang.reflect.Field field)
           
 
Methods inherited from class io.leopard.autounit.inject.AbstractInject
getFieldValue, isNeedSetValue, setFieldValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InjectDaoImpl

public InjectDaoImpl()
Method Detail

inject

public Inject inject(java.lang.Object bean,
                     java.lang.reflect.Field field)

findClass

protected java.lang.Class<?> findClass(java.lang.Class<?> type,
                                       java.lang.String fieldName)
                                throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException

clean

public boolean clean()
Description copied from interface: Inject
清空数据.

Returns:


Copyright © 2014-2015. All Rights Reserved.