org.perfectjpattern.jee.api.integration.dao
Interface ISessionStrategy

All Superinterfaces:
IStrategy
All Known Implementing Classes:
HibernateCurrentSessionStrategy, JpaManagedSessionStrategy, JpaSessionStrategy

public interface ISessionStrategy
extends IStrategy

Abstract IStrategy reusable by IGenericReadOnlyDao that defines:

Version:
$Revision: 1.0 $Date: Feb 8, 2009 2:20:43 PM $
Author:
Giovanni Azua
 

Method Summary
 ISession getSession()
          Returns the adapted JPA implementation-specific ISession
 void shutdown()
          Shutdown the underlying provider of Session instances
 

Method Detail

getSession

ISession getSession()
Returns the adapted JPA implementation-specific ISession

Returns:
adapted JPA implementation-specific ISession

shutdown

void shutdown()
Shutdown the underlying provider of Session instances



Copyright © 2007-2009. All Rights Reserved.