Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.hibernate
Class CurrentSessionFinder

java.lang.Object
  extended by org.hyperic.hq.hibernate.CurrentSessionFinder
All Implemented Interfaces:
java.io.Serializable, org.hibernate.context.CurrentSessionContext

public class CurrentSessionFinder
extends java.lang.Object
implements org.hibernate.context.CurrentSessionContext

This class knows how to find the current Hibernate session. See also: etc/hibernate.properties

See Also:
Serialized Form

Constructor Summary
CurrentSessionFinder(org.hibernate.engine.SessionFactoryImplementor factory)
           
 
Method Summary
 org.hibernate.classic.Session currentSession()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrentSessionFinder

public CurrentSessionFinder(org.hibernate.engine.SessionFactoryImplementor factory)
Method Detail

currentSession

public org.hibernate.classic.Session currentSession()
Specified by:
currentSession in interface org.hibernate.context.CurrentSessionContext

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.