net.smartlab.web.config
Class TomcatConfigurationStrategy

java.lang.Object
  extended by net.smartlab.web.config.TomcatConfigurationStrategy
All Implemented Interfaces:
FactoryConfigurationStrategy

public class TomcatConfigurationStrategy
extends java.lang.Object
implements FactoryConfigurationStrategy

The Hibernate configuration file used must reside into the META-INF directory of the topmost packaging archive and should be named smartweb.jar.hcf or have the name of the JAR file containing the subclass followed by the .hcf suffix.

Author:
rlogiacco

Field Summary
protected  org.apache.commons.logging.Log logger
          Provides logging capabilities to the strategy.
 
Constructor Summary
TomcatConfigurationStrategy()
           
 
Method Summary
 org.hibernate.SessionFactory getSessionFactory(BusinessObjectFactory bof)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final org.apache.commons.logging.Log logger
Provides logging capabilities to the strategy.

Constructor Detail

TomcatConfigurationStrategy

public TomcatConfigurationStrategy()
Method Detail

getSessionFactory

public org.hibernate.SessionFactory getSessionFactory(BusinessObjectFactory bof)
Specified by:
getSessionFactory in interface FactoryConfigurationStrategy
Parameters:
bof - TODO documentation
Returns:
See Also:
FactoryConfigurationStrategy.getSessionFactory(net.smartlab.web.BusinessObjectFactory)


Copyright © 2004-2009 The SmartWeb Team. All Rights Reserved.