org.openejb.server.httpd
Class HttpServer
java.lang.Object
org.openejb.server.httpd.HttpServer
- All Implemented Interfaces:
- org.apache.geronimo.gbean.GBeanLifecycle, org.activeio.xnet.ServerService, org.activeio.xnet.SocketService
- public class HttpServer
- extends Object
- implements org.activeio.xnet.SocketService, org.activeio.xnet.ServerService, org.apache.geronimo.gbean.GBeanLifecycle
This is the main class for the web administration. It takes care of the
processing from the browser, sockets and threading.
- Since:
- 11/25/2001
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpServer
public HttpServer(ContainerIndex index)
HttpServer
public HttpServer()
HttpServer
public HttpServer(HttpListener listener)
service
public void service(Socket socket)
throws org.activeio.xnet.ServiceException,
IOException
- Specified by:
service
in interface org.activeio.xnet.SocketService
- Throws:
org.activeio.xnet.ServiceException
IOException
start
public void start()
throws org.activeio.xnet.ServiceException
- Specified by:
start
in interface org.activeio.xnet.ServerService
- Throws:
org.activeio.xnet.ServiceException
stop
public void stop()
throws org.activeio.xnet.ServiceException
- Specified by:
stop
in interface org.activeio.xnet.ServerService
- Throws:
org.activeio.xnet.ServiceException
getName
public String getName()
- Specified by:
getName
in interface org.activeio.xnet.SocketService
getPort
public int getPort()
- Specified by:
getPort
in interface org.activeio.xnet.ServerService
getIP
public String getIP()
- Specified by:
getIP
in interface org.activeio.xnet.ServerService
getListener
public HttpListener getListener()
init
public void init(Properties props)
throws Exception
- Initalizes this instance and takes care of starting things up
- Specified by:
init
in interface org.activeio.xnet.ServerService
- Parameters:
props
- a properties instance for system properties
- Throws:
Exception
- if an exeption is thrown
doStart
public void doStart()
throws Exception
- Specified by:
doStart
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
Exception
doStop
public void doStop()
throws Exception
- Specified by:
doStop
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
Exception
doFail
public void doFail()
- Specified by:
doFail
in interface org.apache.geronimo.gbean.GBeanLifecycle
Copyright © 1999-2006 OpenEJB. All Rights Reserved.