org.apache.geronimo.jetty.connector
Class JettyConnector

java.lang.Object
  extended byorg.apache.geronimo.jetty.connector.JettyConnector
All Implemented Interfaces:
org.apache.geronimo.gbean.GBeanLifecycle
Direct Known Subclasses:
AJP13Connector, HTTPConnector, HTTPSConnector

public abstract class JettyConnector
extends Object
implements org.apache.geronimo.gbean.GBeanLifecycle

Version:
$Revision: 1.9 $ $Date: 2004/07/12 06:07:51 $

Field Summary
static org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
           
protected  org.mortbay.http.HttpListener listener
           
 
Constructor Summary
JettyConnector(JettyContainer container, org.mortbay.http.HttpListener listener)
           
 
Method Summary
 void doFail()
           
 void doStart()
           
 void doStop()
           
 int getPort()
           
 void setPort(int port)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listener

protected final org.mortbay.http.HttpListener listener

GBEAN_INFO

public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
Constructor Detail

JettyConnector

public JettyConnector(JettyContainer container,
                      org.mortbay.http.HttpListener listener)
Method Detail

getPort

public int getPort()

setPort

public void setPort(int port)

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
Specified by:
doStop in interface org.apache.geronimo.gbean.GBeanLifecycle
Throws:
org.apache.geronimo.gbean.WaitingException

doFail

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


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