org.simBio.sim.js.jini
Class ServiceLocator

java.lang.Object
  extended by org.simBio.sim.js.jini.ServiceLocator

public class ServiceLocator
extends java.lang.Object

Service locator

Version:
$Id: ServiceLocator.java,v 1.1 2007/12/18 03:14:55 mikaelwing Exp $
Author:
Sarai

Constructor Summary
ServiceLocator()
           
 
Method Summary
static java.lang.Object getService(java.lang.Class serviceClass)
           
static java.lang.Object getService(java.lang.Class serviceClass, java.lang.String serviceName)
           
static java.lang.Object getService(java.lang.Class serviceClass, java.lang.String serviceName, java.lang.String serviceURL)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceLocator

public ServiceLocator()
Method Detail

getService

public static java.lang.Object getService(java.lang.Class serviceClass)
                                   throws java.io.IOException,
                                          java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

getService

public static java.lang.Object getService(java.lang.Class serviceClass,
                                          java.lang.String serviceName,
                                          java.lang.String serviceURL)
                                   throws java.io.IOException,
                                          java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

getService

public static java.lang.Object getService(java.lang.Class serviceClass,
                                          java.lang.String serviceName)
                                   throws java.io.IOException,
                                          java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException


Copyright © 2002-2008 Cell/Biodinamics simulation project. All Rights Reserved.