org.mmbase.applications.vprowizards.spring
Class SessionReadingCloudFactory

java.lang.Object
  extended by org.mmbase.applications.vprowizards.spring.SessionReadingCloudFactory
All Implemented Interfaces:
CloudFactory

public class SessionReadingCloudFactory
extends Object
implements CloudFactory

This version of the cloud factory will pick the cloud from the session, that has been set by the nl.vpro.redactie.AuthenticationInterceptor. it assumes that there is a cloud in the session object, mapped to "cloud_mmbase" TODO: the coupling of the cloud to this mapping is hard, and should be configurable.

Author:
Ernst Bunders

Constructor Summary
SessionReadingCloudFactory()
           
 
Method Summary
 Transaction createTransaction(HttpServletRequest request)
          create or reuse some transaction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionReadingCloudFactory

public SessionReadingCloudFactory()
Method Detail

createTransaction

public Transaction createTransaction(HttpServletRequest request)
Description copied from interface: CloudFactory
create or reuse some transaction.

Specified by:
createTransaction in interface CloudFactory
Returns:
an mmbase transaction object.


MMBase 2.0-SNAPSHOT - null