org.openejb.webadmin.httpd
Class HttpServer
java.lang.Object
org.openejb.webadmin.httpd.HttpServer
- All Implemented Interfaces:
- org.openejb.server.ServerService, org.openejb.spi.Service
public class HttpServer
- extends Object
- implements org.openejb.server.ServerService
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
- Author:
- David Blevins, Tim Urberg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpServer
public HttpServer()
service
public void service(InputStream in,
OutputStream out)
throws org.openejb.server.ServiceException,
IOException
- Specified by:
service
in interface org.openejb.server.ServerService
- Throws:
org.openejb.server.ServiceException
IOException
service
public void service(Socket socket)
throws org.openejb.server.ServiceException,
IOException
- Specified by:
service
in interface org.openejb.server.ServerService
- Throws:
org.openejb.server.ServiceException
IOException
start
public void start()
throws org.openejb.server.ServiceException
- Specified by:
start
in interface org.openejb.server.ServerService
- Throws:
org.openejb.server.ServiceException
stop
public void stop()
throws org.openejb.server.ServiceException
- Specified by:
stop
in interface org.openejb.server.ServerService
- Throws:
org.openejb.server.ServiceException
getName
public String getName()
- Specified by:
getName
in interface org.openejb.server.ServerService
getPort
public int getPort()
- Specified by:
getPort
in interface org.openejb.server.ServerService
getIP
public String getIP()
- Specified by:
getIP
in interface org.openejb.server.ServerService
init
public void init(Properties props)
throws Exception
- Initalizes this instance and takes care of starting things up
- Specified by:
init
in interface org.openejb.server.ServerService
- Specified by:
init
in interface org.openejb.spi.Service
- Parameters:
props
- a properties instance for system properties
- Throws:
Exception
- if an exeption is thrown
Copyright © 1999-2008 OpenEJB. All Rights Reserved.