org.opensubsystems.core.logic
Interface StatelessController

All Known Subinterfaces:
BasicDataController, DataController, ModifiableDataController
All Known Implementing Classes:
BasicDataControllerImpl, DataControllerImpl, ModifiableDataControllerImpl, StatelessControllerImpl

public interface StatelessController

Base interface for all stateless controllers. This interface will be base interface for all deriver controller interfaces so that they can be easily identified and in the future we can add methods required by all controllers here.

Version:
$Id: StatelessController.java,v 1.4 2007/01/07 06:15:14 bastafidli Exp $
Author:
Miro Halas
Code reviewer:
Miro Halas
Code reviewed:
1.2 2005/02/26 00:41:43 jlegeny

Method Summary
 void constructor()
          Method overriden in each controller and called by controller manager when the controller is created.
 

Method Detail

constructor

void constructor()
                 throws OSSException,
                        java.rmi.RemoteException
Method overriden in each controller and called by controller manager when the controller is created. Controller should place any initialization call into the implementation of this method instead of into constructor since this method is called at the correct time when the controller is created as a stateless session bean and also when it is created as a POJO. We cannot call this method in EJBs from ejbCreate because xdoclet generates EJB class which implements and hides any ejbXXX method defined in this class.

Throws:
OSSException - - an error has occured
java.rmi.RemoteException - - required since this method can be called remotely


Copyright © 2003 - 2006 OpenSubsystems s.r.o.