com.ibm.retail.AEF.session
Interface SessionExtension


public interface SessionExtension

A SessionExtension provides an interface for extension classes which are instantiated for each AEFSession. The intent is to provide a configurable means by which user server-side code can be configured to run as part of the AEF. Instances of classes which implement this interface will run locally on the machine running the POS application.

To create a server-side session extension, create a class which implements this interface. The class must contain a default constructor, and the setSession method. Configure the class to be created in the usersession.properties file by setting session.extensions=packagename.classname where packagename.classname is the package qualified classname of the user extension class. An instance of the user class will be created for each session as the session becomes ready. The default constructor will be called, followed by a call to setSession.


Method Summary
 void setSession(com.ibm.retail.AEF.session.AEFSession session)
          This method will be called after the session becomes ready.
 

Method Detail

setSession

public void setSession(com.ibm.retail.AEF.session.AEFSession session)
This method will be called after the session becomes ready.

Parameters:
session - The AEFSession associated with this extension object.


Copyright © 2004 IBM. All Rights Reserved.
Generated: July 19 2004