Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

org.openmobileis.services.Service Class Reference

Inheritance diagram for org.openmobileis.services.Service:

org.openmobileis.services.common.RedirectToFromCallingService org.openmobileis.services.common.ReturnLinkManagerService org.openmobileis.services.TemplateService org.openmobileis.synchro.openmsp.server.OpenMSPService org.openmobileis.embedded.webserver.test.services.HelloWorld org.openmobileis.embedded.webserver.test.services.TestServletService org.openmobileis.services.servlet.IndexServlet org.openmobileis.services.SimpleEditService org.openmobileis.synchro.openmsp.client.services.DirectSynchroService org.openmobileis.synchro.openmsp.client.services.SynchroJournalDisplayService org.openmobileis.synchro.openmsp.client.services.SynchroLoginService List of all members.

Detailed Description

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)

Author:
Philippe Delrieu
Since:
JDK 1.1
Version:
1.0.

Definition at line 51 of file Service.java.

Public Member Functions

 Service ()
void runService (HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
boolean useWebCache ()
 to wen server page cache management extends this method and return true.
String getNavigationBarLastServiceURI ()
 place the last service of the navigation bar at the specified service uri if found.
boolean isNavigationService ()
String getServiceUri ()
void setServiceURI (String uri)


Member Function Documentation

String org.openmobileis.services.Service.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:

Definition at line 144 of file Service.java.

Referenced by org.openmobileis.services.navigation.NavigationBarManager.setCurrentService().

boolean org.openmobileis.services.Service.isNavigationService  ) 
 

Returns:

Definition at line 151 of file Service.java.

Referenced by org.openmobileis.services.TemplateService.run(), org.openmobileis.services.Service.runService(), and org.openmobileis.services.Service.Service().

boolean org.openmobileis.services.Service.useWebCache  ) 
 

to wen server page cache management extends this method and return true.

Register your service with the WebPageCacheManager.

Definition at line 134 of file Service.java.

Referenced by org.openmobileis.services.Service.runService().


The documentation for this class was generated from the following file:
Generated on Wed Dec 14 21:05:39 2005 for OpenMobileIS by  doxygen 1.4.4