net.sf.arise.delegate
Class ServiceLocator
java.lang.Object
|
+--net.sf.arise.delegate.ServiceLocator
- public class ServiceLocator
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EJB
public static final ServiceFactory EJB
HTTP
public static final ServiceFactory HTTP
LOCAL
public static final ServiceFactory LOCAL
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