net.sf.crispy.impl.local
Class MiniLocalObjectServer

java.lang.Object
  extended bynet.sf.crispy.impl.local.MiniLocalObjectServer
All Implemented Interfaces:
MiniServer

public class MiniLocalObjectServer
extends java.lang.Object
implements MiniServer

Simulate a server for local Java Object access.

Author:
Linke

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

MiniLocalObjectServer

public MiniLocalObjectServer()
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.Class pvInterface,
                       java.lang.Object pvServiceObject)

getServiceByInterface

public static java.lang.Object getServiceByInterface(java.lang.Class pvInterface)

removeService

public static void removeService(java.lang.Class pvInterface)

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


Copyright © 2005-2006 Crispy. All Rights Reserved.