HHH-6158 - Deprecate SessionFactoryStub

This commit is contained in:
Steve Ebersole 2011-05-04 11:11:19 -05:00
parent 6315cde48d
commit b9d002778b
4 changed files with 8 additions and 0 deletions

View File

@ -26,7 +26,9 @@ import org.hibernate.tool.hbm2ddl.SchemaExport;
* @see HibernateServiceMBean * @see HibernateServiceMBean
* @see org.hibernate.SessionFactory * @see org.hibernate.SessionFactory
* @author John Urberg, Gavin King * @author John Urberg, Gavin King
* @deprecated See <a href="http://opensource.atlassian.com/projects/hibernate/browse/HHH-6190">HHH-6190</a> for details
*/ */
@Deprecated
public class HibernateService extends ExternalSessionFactoryConfig implements HibernateServiceMBean { public class HibernateService extends ExternalSessionFactoryConfig implements HibernateServiceMBean {
private static final CoreMessageLogger LOG = Logger.getMessageLogger(CoreMessageLogger.class, HibernateService.class.getName()); private static final CoreMessageLogger LOG = Logger.getMessageLogger(CoreMessageLogger.class, HibernateService.class.getName());

View File

@ -6,7 +6,9 @@ import org.hibernate.HibernateException;
* Hibernate JMX Management API * Hibernate JMX Management API
* @see HibernateService * @see HibernateService
* @author John Urberg, Gavin King * @author John Urberg, Gavin King
* @deprecated See <a href="http://opensource.atlassian.com/projects/hibernate/browse/HHH-6190">HHH-6190</a> for details
*/ */
@Deprecated
public interface HibernateServiceMBean { public interface HibernateServiceMBean {
/** /**

View File

@ -48,7 +48,9 @@ import org.hibernate.stat.internal.ConcurrentStatisticsImpl;
* loaded. * loaded.
* *
* @author Emmanuel Bernard * @author Emmanuel Bernard
* @deprecated See <a href="http://opensource.atlassian.com/projects/hibernate/browse/HHH-6190">HHH-6190</a> for details
*/ */
@Deprecated
public class StatisticsService implements StatisticsServiceMBean { public class StatisticsService implements StatisticsServiceMBean {
private static final CoreMessageLogger LOG = Logger.getMessageLogger(CoreMessageLogger.class, StatisticsService.class.getName()); private static final CoreMessageLogger LOG = Logger.getMessageLogger(CoreMessageLogger.class, StatisticsService.class.getName());

View File

@ -7,7 +7,9 @@ import org.hibernate.stat.Statistics;
* *
* @see org.hibernate.stat.Statistics * @see org.hibernate.stat.Statistics
* @author Emmanuel Bernard * @author Emmanuel Bernard
* @deprecated See <a href="http://opensource.atlassian.com/projects/hibernate/browse/HHH-6190">HHH-6190</a> for details
*/ */
@Deprecated
public interface StatisticsServiceMBean extends Statistics { public interface StatisticsServiceMBean extends Statistics {
/** /**
* Publish the statistics of a session factory bound to * Publish the statistics of a session factory bound to