|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.enterprise.servlet.ServiceLookup
public class ServiceLookup
look up class for deegree service handler. The class is implemented as singleton to ensure that only one instance and so just ine mapping is valid with a service instance
Method Summary | |
---|---|
void |
addService(java.lang.String key,
java.lang.Class<?> clss)
Maps a web service to the given class |
void |
clear()
Clear the map |
ServiceDispatcher |
getHandler(java.lang.String serviceName,
java.lang.String requestIP)
|
static ServiceLookup |
getInstance()
|
java.util.Iterator<java.lang.String> |
getIterator()
|
java.lang.Class<?> |
getService(java.lang.String key)
|
java.lang.Class<?> |
removeService(java.lang.String key)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ServiceLookup getInstance()
public void addService(java.lang.String key, java.lang.Class<?> clss)
key
- clss
- public java.lang.Class<?> removeService(java.lang.String key)
key
- to be removed
public java.lang.Class<?> getService(java.lang.String key)
key
- the webservice of interest
public java.util.Iterator<java.lang.String> getIterator()
public ServiceDispatcher getHandler(java.lang.String serviceName, java.lang.String requestIP) throws ServiceException
serviceName
- requestIP
-
ServiceException
public void clear()
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org