org.apache.openejb.server.httpd
Class OpenEJBHttpServer
java.lang.Object
org.apache.openejb.server.httpd.OpenEJBHttpServer
- All Implemented Interfaces:
- HttpServer, org.apache.openejb.server.ServerService, org.apache.openejb.spi.Service
public class OpenEJBHttpServer
- extends java.lang.Object
- implements HttpServer
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 |
OpenEJBHttpServer
public OpenEJBHttpServer()
OpenEJBHttpServer
public OpenEJBHttpServer(HttpListener listener)
getHttpListenerRegistry
public static HttpListenerRegistry getHttpListenerRegistry()
getListener
public HttpListener getListener()
- Specified by:
getListener in interface HttpServer
service
public void service(java.net.Socket socket)
throws org.apache.openejb.server.ServiceException,
java.io.IOException
- Specified by:
service in interface org.apache.openejb.server.ServerService
- Throws:
org.apache.openejb.server.ServiceException
java.io.IOException
service
public void service(java.io.InputStream in,
java.io.OutputStream out)
throws org.apache.openejb.server.ServiceException,
java.io.IOException
- Specified by:
service in interface org.apache.openejb.server.ServerService
- Throws:
org.apache.openejb.server.ServiceException
java.io.IOException
init
public void init(java.util.Properties props)
throws java.lang.Exception
- Specified by:
init in interface org.apache.openejb.spi.Service
- Throws:
java.lang.Exception
start
public void start()
throws org.apache.openejb.server.ServiceException
- Specified by:
start in interface org.apache.openejb.server.ServerService
- Throws:
org.apache.openejb.server.ServiceException
stop
public void stop()
throws org.apache.openejb.server.ServiceException
- Specified by:
stop in interface org.apache.openejb.server.ServerService
- Throws:
org.apache.openejb.server.ServiceException
getName
public java.lang.String getName()
- Specified by:
getName in interface org.apache.openejb.server.ServerService
getPort
public int getPort()
- Specified by:
getPort in interface org.apache.openejb.server.ServerService
getIP
public java.lang.String getIP()
- Specified by:
getIP in interface org.apache.openejb.server.ServerService
Copyright © 1999-2009 The Apache OpenEJB development community. All Rights Reserved.