org.objectweb.jonas_ejb.container.JStatelessSwitch Class Reference

Inherits org.objectweb.jonas_ejb.container.JSessionSwitch.

Inheritance diagram for org.objectweb.jonas_ejb.container.JStatelessSwitch:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas_ejb.container.JStatelessSwitch:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 JStatelessSwitch (JStatelessFactory bf) throws RemoteException
synchronized void timeoutExpired (Object arg)
JServiceEndpoint getServiceEndpoint ()
MessageContext getMsgContext ()
JSessionContext getICtx (Transaction tx) throws RemoteException
void releaseICtx (Transaction tx)
void discardICtx (Transaction tx)
void noLongerUsed ()
void setMustCommit (boolean mc)
void pushConnectionList ()
void popConnectionList ()
void enlistConnections (Transaction tx)
void delistConnections (Transaction tx)
void saveBeanTx ()

Detailed Description

JStatelessSwitch is the implementation of JSessionSwitch dedicated to the Stateless Session Bean.
Author:
Philippe Durieux

Definition at line 43 of file JStatelessSwitch.java.


Constructor & Destructor Documentation

org.objectweb.jonas_ejb.container.JStatelessSwitch.JStatelessSwitch JStatelessFactory  bf  )  throws RemoteException
 

constructor.

Parameters:
bf The Bean Factory

Definition at line 53 of file JStatelessSwitch.java.

References org.objectweb.jonas_ejb.container.JServiceEndpoint.setSessionSwitch().

Here is the call graph for this function:


Member Function Documentation

void org.objectweb.jonas_ejb.container.JStatelessSwitch.delistConnections Transaction  tx  )  [virtual]
 

This is not used for stateless

Implements org.objectweb.jonas_ejb.container.JSessionSwitch.

Definition at line 209 of file JStatelessSwitch.java.

void org.objectweb.jonas_ejb.container.JStatelessSwitch.discardICtx Transaction  tx  )  [virtual]
 

Discard a context/instance at end of request. A problem occured on this instance and it must be discarded.

Parameters:
tx - transaction associated to this context

Implements org.objectweb.jonas_ejb.container.JSessionSwitch.

Definition at line 146 of file JStatelessSwitch.java.

References org.objectweb.jonas_ejb.container.JStatelessSwitch.noLongerUsed(), and org.objectweb.jonas_ejb.container.JSessionSwitch.stopTimer().

Here is the call graph for this function:

void org.objectweb.jonas_ejb.container.JStatelessSwitch.enlistConnections Transaction  tx  )  [virtual]
 

This is not used for stateless

Implements org.objectweb.jonas_ejb.container.JSessionSwitch.

Definition at line 204 of file JStatelessSwitch.java.

JSessionContext org.objectweb.jonas_ejb.container.JStatelessSwitch.getICtx Transaction  tx  )  throws RemoteException [virtual]
 

get an initialized Bean Context

Parameters:
tx Current transaction (not used)
Returns:
the Session Context

Implements org.objectweb.jonas_ejb.container.JSessionSwitch.

Definition at line 116 of file JStatelessSwitch.java.

MessageContext org.objectweb.jonas_ejb.container.JStatelessSwitch.getMsgContext  ) 
 

Returns:
The JAX-RPC MessageContext

Definition at line 103 of file JStatelessSwitch.java.

References org.objectweb.jonas_ejb.container.JServiceEndpoint.getMessageContext(), and org.objectweb.jonas_ejb.container.JServiceEndpoint.logger.

Here is the call graph for this function:

JServiceEndpoint org.objectweb.jonas_ejb.container.JStatelessSwitch.getServiceEndpoint  ) 
 

Returns:
The ServiceEndpoint

Definition at line 96 of file JStatelessSwitch.java.

Referenced by org.objectweb.jonas_ejb.container.JServiceEndpointHome.create().

void org.objectweb.jonas_ejb.container.JStatelessSwitch.noLongerUsed  ) 
 

This Session is no longer used.

Definition at line 165 of file JStatelessSwitch.java.

References org.objectweb.jonas_ejb.container.JSessionFactory.removeEJB(), and org.objectweb.jonas_ejb.container.JRemote.unexportObject().

Referenced by org.objectweb.jonas_ejb.container.JStatelessSwitch.discardICtx(), org.objectweb.jonas_ejb.container.JStatelessSwitch.releaseICtx(), and org.objectweb.jonas_ejb.container.JStatelessSwitch.timeoutExpired().

Here is the call graph for this function:

void org.objectweb.jonas_ejb.container.JStatelessSwitch.popConnectionList  )  [virtual]
 

This is not used for stateless

Implements org.objectweb.jonas_ejb.container.JSessionSwitch.

Definition at line 198 of file JStatelessSwitch.java.

void org.objectweb.jonas_ejb.container.JStatelessSwitch.pushConnectionList  )  [virtual]
 

This is not used for stateless

Implements org.objectweb.jonas_ejb.container.JSessionSwitch.

Definition at line 192 of file JStatelessSwitch.java.

void org.objectweb.jonas_ejb.container.JStatelessSwitch.releaseICtx Transaction  tx  )  [virtual]
 

release the bean context. Assumes that only 1 Context is managed at a time. Contexts are release at each request, in case of stateless session.

Parameters:
tx Current transaction (not used)

Implements org.objectweb.jonas_ejb.container.JSessionSwitch.

Definition at line 127 of file JStatelessSwitch.java.

References org.objectweb.jonas_ejb.container.JSessionContext.isMarkedRemoved(), org.objectweb.jonas_ejb.container.JStatelessSwitch.noLongerUsed(), and org.objectweb.jonas_ejb.container.JSessionSwitch.stopTimer().

Here is the call graph for this function:

void org.objectweb.jonas_ejb.container.JStatelessSwitch.saveBeanTx  )  [virtual]
 

This do nothing for stateless

Implements org.objectweb.jonas_ejb.container.JSessionSwitch.

Definition at line 214 of file JStatelessSwitch.java.

void org.objectweb.jonas_ejb.container.JStatelessSwitch.setMustCommit boolean  mc  )  [virtual]
 

This is not used for stateless

Parameters:
mc Not Used.

Implements org.objectweb.jonas_ejb.container.JSessionSwitch.

Definition at line 186 of file JStatelessSwitch.java.

synchronized void org.objectweb.jonas_ejb.container.JStatelessSwitch.timeoutExpired Object  arg  ) 
 

The session timeout has expired

Parameters:
arg Not Used.

Definition at line 72 of file JStatelessSwitch.java.

References org.objectweb.jonas_ejb.container.JServiceEndpoint.logger, org.objectweb.jonas_ejb.container.JStatelessSwitch.noLongerUsed(), and org.objectweb.jonas_ejb.container.JStatelessContext.setRemoved().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:10:51 2005 for JOnAS by  doxygen 1.3.9.1