net.sf.crispy.impl.jboss
Class MiniJBossRemotingServer

java.lang.Object
  extended bynet.sf.crispy.impl.jboss.MiniJBossRemotingServer
All Implemented Interfaces:
MiniServer

public class MiniJBossRemotingServer
extends java.lang.Object
implements MiniServer

Mini server for JBoss remoting to answer to client requests.

Author:
Linke

Field Summary
static java.lang.String DEFAULT_URL_AND_PORT
           
protected static org.apache.commons.logging.Log log
           
 
Constructor Summary
MiniJBossRemotingServer()
           
MiniJBossRemotingServer(java.lang.String pvUrl)
           
 
Method Summary
 void addService(java.lang.String pvServiceInterface, java.lang.Object pvServiceObject)
           
 void addService(java.lang.String pvServiceInterface, java.lang.String pvServiceObject)
          Add services to the server
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
 

Field Detail

log

protected static final org.apache.commons.logging.Log log

DEFAULT_URL_AND_PORT

public static final java.lang.String DEFAULT_URL_AND_PORT
See Also:
Constant Field Values
Constructor Detail

MiniJBossRemotingServer

public MiniJBossRemotingServer()

MiniJBossRemotingServer

public MiniJBossRemotingServer(java.lang.String pvUrl)
Method Detail

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.

addService

public void addService(java.lang.String pvServiceInterface,
                       java.lang.Object pvServiceObject)

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.