org.openmobileis.services
Class Service
java.lang.Object
org.openmobileis.services.Service
- Direct Known Subclasses:
- OpenMSPService, RedirectToFromCallingService, ReturnLinkManagerService, TemplateService
- public abstract class Service
- extends java.lang.Object
Title: OpenMobileIS project source
Description: All services have to specialize this class and override run() method.
The name is set by the LocalServiceManager at launching (by reading serviceList.properties)
- Since:
- JDK 1.1
- Version:
- 1.0.
- Author:
- Philippe Delrieu
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Service
public Service()
runService
public void runService(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
java.io.IOException
- Throws:
ServletException
java.io.IOException
run
public abstract void run(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
java.io.IOException
- Throws:
ServletException
java.io.IOException
useWebCache
public boolean useWebCache()
- to wen server page cache management extends this method and return true.
Register your service with the WebPageCacheManager.
getNavigationBarLastServiceURI
public java.lang.String getNavigationBarLastServiceURI()
- place the last service of the navigation bar at the specified service uri if found.
if not needed return null.
Place here has a helper for all NavigationBarService to avoid this method implementation if not needed.
- Returns:
isNavigationService
public boolean isNavigationService()
- Returns:
getServiceUri
public abstract java.lang.String getServiceUri()
equals
public boolean equals(java.lang.Object obj)
hashCode
public int hashCode()
Copyright 2006 OpenMobileIS. All Rights Reserved.