TorqueBox 3.1.2

org.torquebox.core.datasource
Class DriverService

java.lang.Object
  extended by org.projectodd.polyglot.core.AsyncService<Driver>
      extended by org.torquebox.core.datasource.DriverService
All Implemented Interfaces:
org.jboss.msc.service.Service<Driver>, org.jboss.msc.value.Value<Driver>

public class DriverService
extends org.projectodd.polyglot.core.AsyncService<Driver>


Field Summary
 
Fields inherited from interface org.jboss.msc.service.Service
NULL, NULL_VALUE
 
Constructor Summary
DriverService(String applicationDirectory, Adapter adapter)
           
 
Method Summary
protected  org.jboss.as.connector.services.driver.InstalledDriver createInstalledDriver()
           
 org.jboss.msc.inject.Injector<org.jboss.as.connector.services.driver.registry.DriverRegistry> getDriverRegistryInjector()
           
 org.jboss.msc.inject.Injector<RubyRuntimeFactory> getRuntimeFactoryInjector()
           
 org.jboss.msc.inject.Injector<org.jruby.Ruby> getRuntimeInjector()
           
 Driver getValue()
           
protected  Driver instantiateDriver()
           
 void startAsync(org.jboss.msc.service.StartContext context)
           
 void stop(org.jboss.msc.service.StopContext context)
           
 
Methods inherited from class org.projectodd.polyglot.core.AsyncService
start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DriverService

public DriverService(String applicationDirectory,
                     Adapter adapter)
Method Detail

startAsync

public void startAsync(org.jboss.msc.service.StartContext context)
                throws Exception
Specified by:
startAsync in class org.projectodd.polyglot.core.AsyncService<Driver>
Throws:
Exception

stop

public void stop(org.jboss.msc.service.StopContext context)

instantiateDriver

protected Driver instantiateDriver()
                            throws Exception
Throws:
Exception

createInstalledDriver

protected org.jboss.as.connector.services.driver.InstalledDriver createInstalledDriver()

getValue

public Driver getValue()
                throws IllegalStateException,
                       IllegalArgumentException
Throws:
IllegalStateException
IllegalArgumentException

getRuntimeInjector

public org.jboss.msc.inject.Injector<org.jruby.Ruby> getRuntimeInjector()

getRuntimeFactoryInjector

public org.jboss.msc.inject.Injector<RubyRuntimeFactory> getRuntimeFactoryInjector()

getDriverRegistryInjector

public org.jboss.msc.inject.Injector<org.jboss.as.connector.services.driver.registry.DriverRegistry> getDriverRegistryInjector()

TorqueBox 3.1.2

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.