Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

oracle.apps.fnd.applcore.common
Class ApplSessionTaskHandler

java.lang.Object
  extended by oracle.adf.view.rich.remote.TaskHandler
      extended by oracle.apps.fnd.applcore.common.ApplSessionTaskHandler

public class ApplSessionTaskHandler
extends oracle.adf.view.rich.remote.TaskHandler

This class implements server portion of the remote task flow infrastructure for Applcore, by implementing the ADF TaskHandler interface.


Constructor Summary
ApplSessionTaskHandler()
           
 
Method Summary
 void beginExecute(javax.faces.context.ExternalContext ec, java.io.Serializable[] params)
          Run on the server side at the begin of the remote task flow.
 java.io.Serializable endExecute(javax.faces.context.ExternalContext ec, java.io.Serializable[] params)
          Run at the end of an execution so that a result may be returned back to the client (if desired) and the environment can be cleaned up properly.
 java.io.Serializable invoke(javax.faces.context.ExternalContext ec, java.io.Serializable[] params)
          Run during an invoke request.
 
Methods inherited from class oracle.adf.view.rich.remote.TaskHandler
validateExecution
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplSessionTaskHandler

public ApplSessionTaskHandler()
Method Detail

beginExecute

public void beginExecute(javax.faces.context.ExternalContext ec,
                         java.io.Serializable[] params)
Run on the server side at the begin of the remote task flow. The remote task flow infrastructure is responsible for transporting the session that was sent (via the ApplSessionRemoteListener on the client) to the server, and passes it as a parameter to this method. We then attach to this session and mark it as the current session for use by the remote task flow itself. Handler's overriding this method "should not" execute the superclass logic as it will impact the default logic of the endExecute method.

Overrides:
beginExecute in class oracle.adf.view.rich.remote.TaskHandler
Parameters:
ec - the ExternalContext of the remote task flow
params - the parameters sent over from the client

endExecute

public java.io.Serializable endExecute(javax.faces.context.ExternalContext ec,
                                       java.io.Serializable[] params)
Run at the end of an execution so that a result may be returned back to the client (if desired) and the environment can be cleaned up properly. If the session was tagged as the current session in the beginExecute() method, make sure it is no longer current here.

Overrides:
endExecute in class oracle.adf.view.rich.remote.TaskHandler
Parameters:
ec - the ExternalContext of the remote task flow
params - the parameters that were sent over from the client(?)
Returns:
a Serializable object that can be returned to the client

invoke

public java.io.Serializable invoke(javax.faces.context.ExternalContext ec,
                                   java.io.Serializable[] params)
Run during an invoke request.

Overrides:
invoke in class oracle.adf.view.rich.remote.TaskHandler
Parameters:
ec -
params -
Returns:

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.