org.objectweb.jonas.jetty
Class EmbeddedJettyImpl4

java.lang.Object
  |
  +--org.objectweb.jonas.service.AbsServiceImpl
        |
        +--org.objectweb.jonas.service.AbsDynamicServiceImpl
              |
              +--org.objectweb.jonas.jetty.EmbeddedJettyImpl4
All Implemented Interfaces:
JettyService, java.lang.Runnable, Service

public class EmbeddedJettyImpl4
extends AbsDynamicServiceImpl
implements JettyService

Jetty service implementation for Jetty 4

Author:
Miroslav Halas Contributor(s): Adriana Danes: highlight configuration properties

Constructor Summary
EmbeddedJettyImpl4()
           
 
Method Summary
 void doInit(javax.naming.Context ctx)
          Initialize Jetty server.
 void doStop()
          Stop Jetty service
 void run()
          Start Jetty service.
 
Methods inherited from class org.objectweb.jonas.service.AbsDynamicServiceImpl
doStart, waitTime
 
Methods inherited from class org.objectweb.jonas.service.AbsServiceImpl
getName, init, isStarted, setName, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.jonas.service.Service
getName, init, isStarted, setName, start, stop
 

Constructor Detail

EmbeddedJettyImpl4

public EmbeddedJettyImpl4()
Method Detail

doInit

public void doInit(javax.naming.Context ctx)
Initialize Jetty server.
Overrides:
doInit in class AbsServiceImpl
Parameters:
ctx -  

run

public void run()
         throws ServiceException
Start Jetty service.
Overrides:
run in class AbsDynamicServiceImpl
Throws:
ServiceException -  

doStop

public void doStop()
            throws ServiceException
Stop Jetty service
Overrides:
doStop in class AbsServiceImpl
Throws:
ServiceException -