org.esupportail.portal.utils.channels
Class ServantFactory

java.lang.Object
  extended byorg.esupportail.portal.utils.channels.ServantFactory

public class ServantFactory
extends java.lang.Object

ServantFactory

"Usine" qui fabrique des Servant à la demande d'une MainChannel

(c)Copyright ESup-Portail 2004

Version:
$Revision: 1.1 $
Author:
Olivier Ziller

Constructor Summary
ServantFactory()
           
 
Method Summary
static org.jasig.portal.IServant instantiateServant(MainChannel mainChannel, Action action)
          Méthode statique qui permet d'instancier une SubChannel correspondant à une action
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServantFactory

public ServantFactory()
Method Detail

instantiateServant

public static org.jasig.portal.IServant instantiateServant(MainChannel mainChannel,
                                                           Action action)
                                                    throws org.jasig.portal.PortalException
Méthode statique qui permet d'instancier une SubChannel correspondant à une action

Parameters:
mainChannel - channel principale qui cherche à instancier une SubChannel
action - action pour laquelle on veut instancier la SubChannel
Returns:
la Servant correspondant à l'action
Throws:
org.jasig.portal.PortalException