org.objectweb.telosys.service
Class StandardScreenService

java.lang.Object
  extended byorg.objectweb.telosys.common.TelosysObject
      extended byorg.objectweb.telosys.service.StandardScreenService
All Implemented Interfaces:
ScreenService
Direct Known Subclasses:
SQLSearchAncestor

public abstract class StandardScreenService
extends TelosysObject
implements ScreenService

Standard ancestor class to build screen services

It implements the ScreenService interface except the "execute" method
that must be implemented in the child class.


Constructor Summary
StandardScreenService()
           
 
Method Summary
 java.lang.String getName()
          Returns the name of the service
 java.lang.String getRenderer()
          Returns the renderer associated with the service (or null if none)
 java.lang.String getSessionKey()
          Returns the session key (or null if none)
 void init(java.lang.String sName, java.lang.String sRenderer, java.lang.String sSessionKey)
          Initializes the service instance (just after creation)
 
Methods inherited from class org.objectweb.telosys.common.TelosysObject
error, error, error, getFlagTrace, info, setFlagTrace, trace, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.telosys.service.ScreenService
execute
 

Constructor Detail

StandardScreenService

public StandardScreenService()
Method Detail

init

public void init(java.lang.String sName,
                 java.lang.String sRenderer,
                 java.lang.String sSessionKey)
Description copied from interface: ScreenService
Initializes the service instance (just after creation)

Specified by:
init in interface ScreenService
Parameters:
sName - the name of the service
sRenderer - the renderer associated with the service (or null if none)
sSessionKey - the session key to use for result storage (or null if no storage)

getName

public java.lang.String getName()
Description copied from interface: ScreenService
Returns the name of the service

Specified by:
getName in interface ScreenService
Returns:

getRenderer

public java.lang.String getRenderer()
Description copied from interface: ScreenService
Returns the renderer associated with the service (or null if none)

Specified by:
getRenderer in interface ScreenService
Returns:

getSessionKey

public java.lang.String getSessionKey()
Description copied from interface: ScreenService
Returns the session key (or null if none)

Specified by:
getSessionKey in interface ScreenService
Returns: