edu.mssm.crover.mutations.drivers
Class MutationDriverFactoryImpl

java.lang.Object
  |
  +--edu.mssm.crover.mutations.drivers.MutationDriverFactoryImpl
All Implemented Interfaces:
MutationDriverFactory

public class MutationDriverFactoryImpl
extends java.lang.Object
implements MutationDriverFactory

Default implementation of MutationDriverFactory.


Constructor Summary
MutationDriverFactoryImpl()
           
 
Method Summary
 MutationDriver getDriver(DriverInformation selected_driver)
          Returns the driver that matches a driver information.
 MutationDriver getDriverByName(java.lang.String shortname)
          Returns the driver that matches this shortname.
 MutationDriver getDriverByOrigin(java.lang.String origin)
          This method has not been implemented yet.
 DriverInformation[] getInstalledDrivers()
          Returns a list of all the installed mutation server drivers.
static void installDriver(MutationDriver driver)
          Install a new driver.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MutationDriverFactoryImpl

public MutationDriverFactoryImpl()
Method Detail

getInstalledDrivers

public DriverInformation[] getInstalledDrivers()
Description copied from interface: MutationDriverFactory
Returns a list of all the installed mutation server drivers.

Specified by:
getInstalledDrivers in interface MutationDriverFactory

getDriver

public MutationDriver getDriver(DriverInformation selected_driver)
Description copied from interface: MutationDriverFactory
Returns the driver that matches a driver information. Use this method when the user has been given an opportunity to select the driver from a set of DriverInformation.

Specified by:
getDriver in interface MutationDriverFactory

getDriverByOrigin

public MutationDriver getDriverByOrigin(java.lang.String origin)
This method has not been implemented yet.

Specified by:
getDriverByOrigin in interface MutationDriverFactory

getDriverByName

public MutationDriver getDriverByName(java.lang.String shortname)
Description copied from interface: MutationDriverFactory
Returns the driver that matches this shortname.

Specified by:
getDriverByName in interface MutationDriverFactory

installDriver

public static void installDriver(MutationDriver driver)
Install a new driver. Replaces any driver that happen to have the same shortname by this one.


main

public static void main(java.lang.String[] args)


Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.