org.jboss.jca.deployers.fungal
Class DriverRegistry

java.lang.Object
  extended by org.jboss.jca.deployers.fungal.DriverRegistry

public class DriverRegistry
extends Object

A driver registry

Author:
Jesper Pedersen

Constructor Summary
DriverRegistry()
          Constructor
 
Method Summary
 String getDriver(String module)
          Get driver for a module
 void setScanClassLoader(ClassLoader cl)
          Set the classloader
 void start()
          Start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DriverRegistry

public DriverRegistry()
Constructor

Method Detail

setScanClassLoader

public void setScanClassLoader(ClassLoader cl)
Set the classloader

Parameters:
cl - The value

getDriver

public String getDriver(String module)
Get driver for a module

Parameters:
module - The module definition
Returns:
The driver; null if not defined

start

public void start()
           throws Throwable
Start

Throws:
Throwable - If an error occurs


Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)