Save This Page
Home » Hibernate-3.3.2.GA » org.hibernate » jmx » [javadoc | source]
org.hibernate.jmx
public class: SessionFactoryStub [javadoc | source]
java.lang.Object
   org.hibernate.jmx.SessionFactoryStub

All Implemented Interfaces:
    org.hibernate.SessionFactory

A flyweight for SessionFactory. If the MBean itself does not have classpath to the persistent classes, then a stub will be registered with JNDI and the actual SessionFactoryImpl built upon first access.
Constructor:
 SessionFactoryStub(HibernateService service) 
Method from org.hibernate.jmx.SessionFactoryStub Summary:
close,   evict,   evict,   evictCollection,   evictCollection,   evictEntity,   evictEntity,   evictQueries,   evictQueries,   getAllClassMetadata,   getAllCollectionMetadata,   getClassMetadata,   getClassMetadata,   getCollectionMetadata,   getCurrentSession,   getDefinedFilterNames,   getFilterDefinition,   getReference,   getStatistics,   isClosed,   openSession,   openSession,   openSession,   openSession,   openStatelessSession,   openStatelessSession
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.jmx.SessionFactoryStub Detail:
 public  void close() throws HibernateException 
 public  void evict(Class persistentClass) throws HibernateException 
 public  void evict(Class persistentClass,
    Serializable id) throws HibernateException 
 public  void evictCollection(String roleName) throws HibernateException 
 public  void evictCollection(String roleName,
    Serializable id) throws HibernateException 
 public  void evictEntity(String entityName) throws HibernateException 
 public  void evictEntity(String entityName,
    Serializable id) throws HibernateException 
 public  void evictQueries() throws HibernateException 
 public  void evictQueries(String cacheRegion) throws HibernateException 
 public Map getAllClassMetadata() throws HibernateException 
 public Map getAllCollectionMetadata() throws HibernateException 
 public ClassMetadata getClassMetadata(Class persistentClass) throws HibernateException 
 public ClassMetadata getClassMetadata(String entityName) throws HibernateException 
 public CollectionMetadata getCollectionMetadata(String roleName) throws HibernateException 
 public Session getCurrentSession() 
 public Set getDefinedFilterNames() 
 public FilterDefinition getFilterDefinition(String filterName) throws HibernateException 
 public Reference getReference() throws NamingException 
 public Statistics getStatistics() 
 public boolean isClosed() 
 public Session openSession() throws HibernateException 
 public Session openSession(Interceptor interceptor) throws HibernateException 
 public Session openSession(Connection conn) 
 public Session openSession(Connection connection,
    Interceptor interceptor) 
 public StatelessSession openStatelessSession() 
 public StatelessSession openStatelessSession(Connection conn)