TorqueBox 3.1.2

org.torquebox.web.as
Class HttpConnectorStartService

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

public class HttpConnectorStartService
extends org.projectodd.polyglot.core.AsyncService<HttpConnectorStartService>

The entire purpose of this service is to ensure the HTTP web connector is started. It was created solely in support of torquebox-lite on Heroku where the web connector starts out disabled and then gets started by this service after the Rack application has booted.

Author:
bbrowning

Field Summary
 
Fields inherited from interface org.jboss.msc.service.Service
NULL, NULL_VALUE
 
Constructor Summary
HttpConnectorStartService()
           
 
Method Summary
 org.jboss.msc.inject.Injector<org.jboss.msc.service.ServiceRegistry> getServiceRegistryInjector()
           
 HttpConnectorStartService getValue()
           
 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

HttpConnectorStartService

public HttpConnectorStartService()
Method Detail

getValue

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

startAsync

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

stop

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

getServiceRegistryInjector

public org.jboss.msc.inject.Injector<org.jboss.msc.service.ServiceRegistry> getServiceRegistryInjector()

TorqueBox 3.1.2

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