org.openmobileis.services.common
Class ServiceManager
java.lang.Object
org.openmobileis.services.common.ServiceManager
- public class ServiceManager
- extends java.lang.Object
Title: OpenMobileIS project source
Description: Load all known services at launching. Names and
classes are described in a property file and set at the initialization (init() method) by
the web server.
Each time an objecthas to access to a service, call getService from Service manager.
- Since:
- JDK 1.1
- Version:
- 1.0.
- Author:
- Philippe Delrieu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
init
public void init(java.util.Properties props,
java.lang.String baseURI)
throws ServiceException
- Throws:
ServiceException
loadService
public void loadService(Service service)
loadRubricLoader
public void loadRubricLoader(RubricLoader rubricLoader)
throws ServiceException
- Throws:
ServiceException
getServiceBaseURI
public java.lang.String getServiceBaseURI()
setServiceBaseURI
public void setServiceBaseURI(java.lang.String uri)
getManager
public static ServiceManager getManager()
getServiceByURI
public Service getServiceByURI(java.lang.String serviceURI)
redirectToServiceURI
public void redirectToServiceURI(java.lang.String uri,
HttpServletRequest req,
HttpServletResponse res)
throws java.io.IOException,
ServletException
- Throws:
java.io.IOException
ServletException
getCallingServiceManager
public CallingServiceManager getCallingServiceManager()
Copyright 2006 OpenMobileIS. All Rights Reserved.