com.pmease.quickbuild.persistence
Class AgentSessionFactory

java.lang.Object
  extended by com.pmease.quickbuild.persistence.AgentSessionFactory
All Implemented Interfaces:
java.io.Serializable, javax.naming.Referenceable, org.hibernate.SessionFactory

public class AgentSessionFactory
extends java.lang.Object
implements org.hibernate.SessionFactory

See Also:
Serialized Form

Constructor Summary
AgentSessionFactory()
           
 
Method Summary
 void close()
           
 boolean containsFetchProfileDefinition(java.lang.String name)
           
 void evict(java.lang.Class persistentClass)
           
 void evict(java.lang.Class persistentClass, java.io.Serializable id)
           
 void evictCollection(java.lang.String roleName)
           
 void evictCollection(java.lang.String roleName, java.io.Serializable id)
           
 void evictEntity(java.lang.String entityName)
           
 void evictEntity(java.lang.String entityName, java.io.Serializable id)
           
 void evictQueries()
           
 void evictQueries(java.lang.String cacheRegion)
           
 java.util.Map getAllClassMetadata()
           
 java.util.Map getAllCollectionMetadata()
           
 org.hibernate.Cache getCache()
           
 org.hibernate.metadata.ClassMetadata getClassMetadata(java.lang.Class persistentClass)
           
 org.hibernate.metadata.ClassMetadata getClassMetadata(java.lang.String entityName)
           
 org.hibernate.metadata.CollectionMetadata getCollectionMetadata(java.lang.String roleName)
           
 org.hibernate.classic.Session getCurrentSession()
           
 java.util.Set getDefinedFilterNames()
           
 org.hibernate.engine.FilterDefinition getFilterDefinition(java.lang.String filterName)
           
 javax.naming.Reference getReference()
           
 org.hibernate.stat.Statistics getStatistics()
           
 org.hibernate.TypeHelper getTypeHelper()
           
 boolean isClosed()
           
 org.hibernate.classic.Session openSession()
           
 org.hibernate.classic.Session openSession(java.sql.Connection connection)
           
 org.hibernate.classic.Session openSession(java.sql.Connection connection, org.hibernate.Interceptor interceptor)
           
 org.hibernate.classic.Session openSession(org.hibernate.Interceptor interceptor)
           
 org.hibernate.StatelessSession openStatelessSession()
           
 org.hibernate.StatelessSession openStatelessSession(java.sql.Connection connection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentSessionFactory

public AgentSessionFactory()
Method Detail

close

public void close()
           throws org.hibernate.HibernateException
Specified by:
close in interface org.hibernate.SessionFactory
Throws:
org.hibernate.HibernateException

evict

public void evict(java.lang.Class persistentClass)
           throws org.hibernate.HibernateException
Specified by:
evict in interface org.hibernate.SessionFactory
Throws:
org.hibernate.HibernateException

evict

public void evict(java.lang.Class persistentClass,
                  java.io.Serializable id)
           throws org.hibernate.HibernateException
Specified by:
evict in interface org.hibernate.SessionFactory
Throws:
org.hibernate.HibernateException

evictCollection

public void evictCollection(java.lang.String roleName)
                     throws org.hibernate.HibernateException
Specified by:
evictCollection in interface org.hibernate.SessionFactory
Throws:
org.hibernate.HibernateException

evictCollection

public void evictCollection(java.lang.String roleName,
                            java.io.Serializable id)
                     throws org.hibernate.HibernateException
Specified by:
evictCollection in interface org.hibernate.SessionFactory
Throws:
org.hibernate.HibernateException

evictEntity

public void evictEntity(java.lang.String entityName)
                 throws org.hibernate.HibernateException
Specified by:
evictEntity in interface org.hibernate.SessionFactory
Throws:
org.hibernate.HibernateException

evictEntity

public void evictEntity(java.lang.String entityName,
                        java.io.Serializable id)
                 throws org.hibernate.HibernateException
Specified by:
evictEntity in interface org.hibernate.SessionFactory
Throws:
org.hibernate.HibernateException

evictQueries

public void evictQueries()
                  throws org.hibernate.HibernateException
Specified by:
evictQueries in interface org.hibernate.SessionFactory
Throws:
org.hibernate.HibernateException

evictQueries

public void evictQueries(java.lang.String cacheRegion)
                  throws org.hibernate.HibernateException
Specified by:
evictQueries in interface org.hibernate.SessionFactory
Throws:
org.hibernate.HibernateException

getAllClassMetadata

public java.util.Map getAllClassMetadata()
                                  throws org.hibernate.HibernateException
Specified by:
getAllClassMetadata in interface org.hibernate.SessionFactory
Throws:
org.hibernate.HibernateException

getAllCollectionMetadata

public java.util.Map getAllCollectionMetadata()
                                       throws org.hibernate.HibernateException
Specified by:
getAllCollectionMetadata in interface org.hibernate.SessionFactory
Throws:
org.hibernate.HibernateException

getClassMetadata

public org.hibernate.metadata.ClassMetadata getClassMetadata(java.lang.Class persistentClass)
                                                      throws org.hibernate.HibernateException
Specified by:
getClassMetadata in interface org.hibernate.SessionFactory
Throws:
org.hibernate.HibernateException

getClassMetadata

public org.hibernate.metadata.ClassMetadata getClassMetadata(java.lang.String entityName)
                                                      throws org.hibernate.HibernateException
Specified by:
getClassMetadata in interface org.hibernate.SessionFactory
Throws:
org.hibernate.HibernateException

getCollectionMetadata

public org.hibernate.metadata.CollectionMetadata getCollectionMetadata(java.lang.String roleName)
                                                                throws org.hibernate.HibernateException
Specified by:
getCollectionMetadata in interface org.hibernate.SessionFactory
Throws:
org.hibernate.HibernateException

getCurrentSession

public org.hibernate.classic.Session getCurrentSession()
                                                throws org.hibernate.HibernateException
Specified by:
getCurrentSession in interface org.hibernate.SessionFactory
Throws:
org.hibernate.HibernateException

getDefinedFilterNames

public java.util.Set getDefinedFilterNames()
Specified by:
getDefinedFilterNames in interface org.hibernate.SessionFactory

getFilterDefinition

public org.hibernate.engine.FilterDefinition getFilterDefinition(java.lang.String filterName)
                                                          throws org.hibernate.HibernateException
Specified by:
getFilterDefinition in interface org.hibernate.SessionFactory
Throws:
org.hibernate.HibernateException

getStatistics

public org.hibernate.stat.Statistics getStatistics()
Specified by:
getStatistics in interface org.hibernate.SessionFactory

isClosed

public boolean isClosed()
Specified by:
isClosed in interface org.hibernate.SessionFactory

openSession

public org.hibernate.classic.Session openSession()
                                          throws org.hibernate.HibernateException
Specified by:
openSession in interface org.hibernate.SessionFactory
Throws:
org.hibernate.HibernateException

openSession

public org.hibernate.classic.Session openSession(java.sql.Connection connection)
Specified by:
openSession in interface org.hibernate.SessionFactory

openSession

public org.hibernate.classic.Session openSession(org.hibernate.Interceptor interceptor)
                                          throws org.hibernate.HibernateException
Specified by:
openSession in interface org.hibernate.SessionFactory
Throws:
org.hibernate.HibernateException

openSession

public org.hibernate.classic.Session openSession(java.sql.Connection connection,
                                                 org.hibernate.Interceptor interceptor)
Specified by:
openSession in interface org.hibernate.SessionFactory

openStatelessSession

public org.hibernate.StatelessSession openStatelessSession()
Specified by:
openStatelessSession in interface org.hibernate.SessionFactory

openStatelessSession

public org.hibernate.StatelessSession openStatelessSession(java.sql.Connection connection)
Specified by:
openStatelessSession in interface org.hibernate.SessionFactory

getReference

public javax.naming.Reference getReference()
                                    throws javax.naming.NamingException
Specified by:
getReference in interface javax.naming.Referenceable
Throws:
javax.naming.NamingException

getCache

public org.hibernate.Cache getCache()
Specified by:
getCache in interface org.hibernate.SessionFactory

containsFetchProfileDefinition

public boolean containsFetchProfileDefinition(java.lang.String name)
Specified by:
containsFetchProfileDefinition in interface org.hibernate.SessionFactory

getTypeHelper

public org.hibernate.TypeHelper getTypeHelper()
Specified by:
getTypeHelper in interface org.hibernate.SessionFactory


Copyright © 2005-2010 PMEase Inc. All Rights Reserved.