org.qi4j.library.http
Class JettyMixin

java.lang.Object
  extended by org.qi4j.library.http.JettyMixin
All Implemented Interfaces:
Activatable, HttpService

public class JettyMixin
extends Object
implements Activatable, HttpService

JAVADOC


Constructor Summary
JettyMixin(ServiceDescriptor descriptor, Configuration<JettyConfiguration> configuration)
           
 
Method Summary
 void activate()
          This is invoked on the service when the instance is being activated
 Interface[] interfacesServed()
           
 void passivate()
          This is invoked on the service when the instance is being passivated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JettyMixin

public JettyMixin(@Uses
                  ServiceDescriptor descriptor,
                  @This
                  Configuration<JettyConfiguration> configuration)
Method Detail

activate

public final void activate()
                    throws Exception
Description copied from interface: Activatable
This is invoked on the service when the instance is being activated

Specified by:
activate in interface Activatable
Throws:
Exception - if service could not be activated

passivate

public final void passivate()
                     throws Exception
Description copied from interface: Activatable
This is invoked on the service when the instance is being passivated

Specified by:
passivate in interface Activatable
Throws:
Exception - if the service could not be passivated

interfacesServed

public Interface[] interfacesServed()
Specified by:
interfacesServed in interface HttpService