net.sourceforge.hivetranse.transaction.hibernate3
Class SessionFactoryContribution

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by net.sourceforge.hivetranse.transaction.hibernate3.SessionFactoryContribution
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder

public class SessionFactoryContribution
extends org.apache.hivemind.impl.BaseLocatable

Represents a configuration parameter to the SessionProxyFactory configured for building a Session service. Each instance defines a Hibernate configuration file. Optionally, the instance can embed additional properties to be set individually before Hibernate SessionFactory is built.

Author:
Jean-Francois Poilpret

Constructor Summary
SessionFactoryContribution()
           
 
Method Summary
 void addProperty(NameValuePair property)
           
 org.apache.hivemind.Resource getConfig()
           
 org.hibernate.Interceptor getInterceptor()
           
 org.hibernate.cfg.NamingStrategy getNamingStrategy()
           
 java.util.Properties getProperties()
           
 java.util.List getSettings()
           
 void setConfig(org.apache.hivemind.Resource config)
           
 void setInterceptor(org.hibernate.Interceptor interceptor)
           
 void setNamingStrategy(org.hibernate.cfg.NamingStrategy namingStrategy)
           
 void setSettings(java.util.List settings)
           
 java.lang.String toString()
           
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SessionFactoryContribution

public SessionFactoryContribution()
Method Detail

setConfig

public void setConfig(org.apache.hivemind.Resource config)

getConfig

public org.apache.hivemind.Resource getConfig()

setSettings

public void setSettings(java.util.List settings)

getSettings

public java.util.List getSettings()

setInterceptor

public void setInterceptor(org.hibernate.Interceptor interceptor)

getInterceptor

public org.hibernate.Interceptor getInterceptor()

setNamingStrategy

public void setNamingStrategy(org.hibernate.cfg.NamingStrategy namingStrategy)

getNamingStrategy

public org.hibernate.cfg.NamingStrategy getNamingStrategy()

addProperty

public void addProperty(NameValuePair property)

getProperties

public java.util.Properties getProperties()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object