org.apache.geronimo.webdav.jetty
Class JettyConnectorImpl

java.lang.Object
  extended byorg.apache.geronimo.webdav.AbstractConnector
      extended byorg.apache.geronimo.webdav.jetty.JettyConnectorImpl
All Implemented Interfaces:
Connector, org.apache.geronimo.gbean.GBeanLifecycle, JettyConnector

public class JettyConnectorImpl
extends AbstractConnector
implements org.apache.geronimo.gbean.GBeanLifecycle, JettyConnector

Connector using under the cover a Jetty HttpListener.

Version:
$Revision: 1.6 $ $Date: 2004/06/10 23:12:24 $

Field Summary
 
Fields inherited from class org.apache.geronimo.webdav.AbstractConnector
log, maxCon, maxIdle, port, protocol
 
Constructor Summary
JettyConnectorImpl(String aProtocol, String anHost, int aPort, int aMaxCon, int aMaxIdle)
           
 
Method Summary
 void doFail()
           
 void doStart()
           
 void doStop()
           
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
 org.mortbay.http.HttpListener getListener()
           
 
Methods inherited from class org.apache.geronimo.webdav.AbstractConnector
getInterface, getMaxConnections, getMaxIdleTime, getPort, getProtocol, setInterface, setMaxConnections, setMaxIdleTime, setPort, setProtocol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.geronimo.webdav.Connector
getInterface, getMaxConnections, getMaxIdleTime, getPort, getProtocol, setInterface, setMaxConnections, setMaxIdleTime, setPort, setProtocol
 

Constructor Detail

JettyConnectorImpl

public JettyConnectorImpl(String aProtocol,
                          String anHost,
                          int aPort,
                          int aMaxCon,
                          int aMaxIdle)
Method Detail

getListener

public org.mortbay.http.HttpListener getListener()
Specified by:
getListener in interface JettyConnector

doStart

public void doStart()
             throws org.apache.geronimo.gbean.WaitingException,
                    Exception
Specified by:
doStart in interface org.apache.geronimo.gbean.GBeanLifecycle
Throws:
org.apache.geronimo.gbean.WaitingException
Exception

doStop

public void doStop()
            throws org.apache.geronimo.gbean.WaitingException,
                   Exception
Specified by:
doStop in interface org.apache.geronimo.gbean.GBeanLifecycle
Throws:
org.apache.geronimo.gbean.WaitingException
Exception

doFail

public void doFail()
Specified by:
doFail in interface org.apache.geronimo.gbean.GBeanLifecycle

getGBeanInfo

public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.