net.sf.arise.delegate
Class ServiceLocator

java.lang.Object
  |
  +--net.sf.arise.delegate.ServiceLocator

public class ServiceLocator
extends java.lang.Object


Field Summary
static ServiceFactory EJB
           
static ServiceFactory HTTP
           
static ServiceFactory LOCAL
           
 
Method Summary
 java.lang.Object find(java.lang.Class serviceInterface)
           
 java.lang.Object find(java.lang.Class serviceInterface, java.util.Properties props)
           
static ServiceLocator get()
           
static ServiceLocator get(boolean remote)
           
static ServiceLocator get(boolean remote, boolean forRemoteUse)
           
static ServiceLocator get(ServiceFactory factory)
           
static ServiceLocator get(ServiceFactory factory, boolean remote)
           
static ServiceLocator get(ServiceFactory factory, boolean remote, boolean forRemoteUse)
           
 ServiceFactory getServiceFactory()
           
 boolean isRemote()
           
 boolean isRemoteService()
           
 void setProperties(java.util.Properties p)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EJB

public static final ServiceFactory EJB

HTTP

public static final ServiceFactory HTTP

LOCAL

public static final ServiceFactory LOCAL
Method Detail

get

public static ServiceLocator get()

get

public static ServiceLocator get(boolean remote)

get

public static ServiceLocator get(boolean remote,
                                 boolean forRemoteUse)

get

public static ServiceLocator get(ServiceFactory factory)

get

public static ServiceLocator get(ServiceFactory factory,
                                 boolean remote)

get

public static ServiceLocator get(ServiceFactory factory,
                                 boolean remote,
                                 boolean forRemoteUse)

isRemote

public boolean isRemote()

isRemoteService

public boolean isRemoteService()

setProperties

public void setProperties(java.util.Properties p)

getServiceFactory

public ServiceFactory getServiceFactory()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

find

public java.lang.Object find(java.lang.Class serviceInterface)
                      throws ServiceException
ServiceException

find

public java.lang.Object find(java.lang.Class serviceInterface,
                             java.util.Properties props)
                      throws ServiceException
ServiceException


All code and documentation is

Copyright (c) : 2000-2003 Kjetil Valstadsve & Maja S. Bratseth