edu.umd.cs.findbugs.classfile

Class ReflectionDatabaseFactory<E>

public class ReflectionDatabaseFactory<E> extends Object implements IDatabaseFactory<E>

A generic database factory that tries to create the database by (in order of preference)
  1. Invoking a static create method
  2. Invoking a no-arg constructor

Author: David Hovemeyer

Constructor Summary
ReflectionDatabaseFactory(Class<E> databaseClass)
Method Summary
EcreateDatabase()
voidregisterWith(IAnalysisCache analysisCache)

Constructor Detail

ReflectionDatabaseFactory

public ReflectionDatabaseFactory(Class<E> databaseClass)

Method Detail

createDatabase

public E createDatabase()

registerWith

public void registerWith(IAnalysisCache analysisCache)
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.