net.smartlab.web.config
Class JNDIConfigurationStrategy

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

public class JNDIConfigurationStrategy
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
JNDIConfigurationStrategy()
           
 
Method Summary
 org.hibernate.SessionFactory getSessionFactory(BusinessObjectFactory factory)
           
 
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

JNDIConfigurationStrategy

public JNDIConfigurationStrategy()
Method Detail

getSessionFactory

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


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