net.sf.crispy.impl.caucho
Class MiniCauchoServer
java.lang.Object
net.sf.crispy.impl.caucho.MiniCauchoServer
- All Implemented Interfaces:
- MiniServer
- public class MiniCauchoServer
- extends java.lang.Object
- implements MiniServer
Mini web server implementation with two servlets (BurlapServlet and HessianServlet).
- Author:
- Linke
Method Summary |
void |
addService(java.lang.String pvServiceInterface,
java.lang.String pvServiceObject)
Add services to the server |
int |
getServerType()
|
static void |
main(java.lang.String[] args)
|
void |
start()
Start the Server. |
void |
stop()
Stop the Server. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.commons.logging.Log log
DEFAULT_PORT
public static final int DEFAULT_PORT
- See Also:
- Constant Field Values
SERVER_TYPE_BOTH
public static final int SERVER_TYPE_BOTH
- See Also:
- Constant Field Values
SERVER_TYPE_BURLAP
public static final int SERVER_TYPE_BURLAP
- See Also:
- Constant Field Values
SERVER_TYPE_HESSIAN
public static final int SERVER_TYPE_HESSIAN
- See Also:
- Constant Field Values
MiniCauchoServer
public MiniCauchoServer()
MiniCauchoServer
public MiniCauchoServer(int pvPort)
MiniCauchoServer
public MiniCauchoServer(int pvServerType,
int pvPort)
getServerType
public int getServerType()
addService
public void addService(java.lang.String pvServiceInterface,
java.lang.String pvServiceObject)
- Description copied from interface:
MiniServer
- Add services to the server
- Specified by:
addService
in interface MiniServer
- Parameters:
pvServiceInterface
- Interface of the service.pvServiceObject
- Implementation of the service.
start
public void start()
- Description copied from interface:
MiniServer
- Start the Server.
- Specified by:
start
in interface MiniServer
stop
public void stop()
- Description copied from interface:
MiniServer
- Stop the Server.
- Specified by:
stop
in interface MiniServer
main
public static void main(java.lang.String[] args)
Copyright © 2005-2006 Crispy. All Rights Reserved.