站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 hibernate API Documentation 英文版文档

HibernateMBean (JBoss Hibernate API) - JBoss 4.0.1 sp1 hibernate API Documentation 英文版文档


org.jboss.hibernate.jmx
Interface HibernateMBean

All Superinterfaces:
org.jboss.system.Service, org.jboss.system.ServiceMBean
All Known Implementing Classes:
Hibernate

public interface HibernateMBean
extends org.jboss.system.ServiceMBean

MBean interface.

Version:
${version}
Author:
XDoclet

Field Summary
static javax.management.ObjectName OBJECT_NAME
           
 
Fields inherited from interface org.jboss.system.ServiceMBean
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Method Summary
 String getBatchVersionedDataEnabled()
           
 String getCacheProviderClass()
          Get the cache provider class.
 String getCacheRegionPrefix()
           
 String getDatasourceName()
          Get the JNDI datasource name.
 String getDefaultSchema()
          Get the default database schema.
 String getDeployedTreeCacheJndiName()
           
 String getDialect()
          Get the Hibernate SQL dialect.
 String getGetGeneratedKeysEnabled()
          Is the use of JDBC3 getGeneratedKeys() enabled?
 URL getHarUrl()
           
 String getHbm2ddlAuto()
           
 String getJdbcBatchSize()
          Get the JDBC batch update batch size.
 String getJdbcFetchSize()
          Get the JDBC fetch size.
 String getJdbcScrollableResultSetEnabled()
          Are scrollable result sets enabled?
 String getMaxFetchDepth()
          Get the maximum outer join fetch depth.
 String getMinimalPutsEnabled()
           
 String getPassword()
          Get the database password.
 String getQueryCacheEnabled()
          Is the query cache enabled?
 String getQuerySubstitutions()
          Get the query substitutions.
 String getReflectionOptimizationEnabled()
           
 String getSessionFactoryInterceptor()
           
 String getSessionFactoryName()
          Get the SessionFactory JNDI name.
 String getShowSqlEnabled()
          Is SQL being logged to the console?
 String getStreamsForBinaryEnabled()
           
 String getUsername()
          Get the database username.
 boolean isDirty()
           
 boolean isSessionFactoryRunning()
           
 void rebuildSessionFactory()
           
 void setBatchVersionedDataEnabled(String batchVersionedDataEnabled)
           
 void setCacheProviderClass(String cacheProviderClass)
          Set the cache provider class.
 void setCacheRegionPrefix(String cacheRegionPrefix)
           
 void setDatasourceName(String datasourceName)
          Set the JNDI datasource name.
 void setDefaultSchema(String defaultSchema)
          Set the default database schema.
 void setDeployedTreeCacheJndiName(String deployedTreeCacheJndiName)
           
 void setDialect(String dialect)
          Set the Hibernate SQL dialect.
 void setGetGeneratedKeysEnabled(String getGeneratedKeysEnabled)
           
 void setHarUrl(URL harUrl)
           
 void setHbm2ddlAuto(String hbm2ddlAuto)
           
 void setJdbcBatchSize(String jdbcBatchSize)
          Set the JDBC batch update batch size.
 void setJdbcFetchSize(String jdbcFetchSize)
          Set the JDBC fetch size.
 void setJdbcScrollableResultSetEnabled(String jdbcScrollableResultSetEnabled)
           
 void setMaxFetchDepth(String maxFetchDepth)
          Set the maximum outer join fetch depth.
 void setMinimalPutsEnabled(String minimalPutsEnabled)
           
 void setPassword(String password)
          Set the database password.
 void setQueryCacheEnabled(String queryCacheEnabled)
           
 void setQuerySubstitutions(String querySubstitutions)
          Set the query substitutions.
 void setReflectionOptimizationEnabled(String reflectionOptimizationEnabled)
           
 void setSessionFactoryInterceptor(String sessionFactoryInterceptor)
           
 void setSessionFactoryName(String sessionFactoryName)
          Set the SessionFactory JNDI name.
 void setShowSqlEnabled(String showSqlEnabled)
           
 void setStreamsForBinaryEnabled(String streamsForBinaryEnabled)
           
 void setUsername(String username)
          Set the database username.
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Field Detail

OBJECT_NAME

public static final javax.management.ObjectName OBJECT_NAME
Method Detail

getSessionFactoryName

public String getSessionFactoryName()
Get the SessionFactory JNDI name.


setSessionFactoryName

public void setSessionFactoryName(String sessionFactoryName)
Set the SessionFactory JNDI name.


getHarUrl

public URL getHarUrl()

setHarUrl

public void setHarUrl(URL harUrl)

getDatasourceName

public String getDatasourceName()
Get the JNDI datasource name.


setDatasourceName

public void setDatasourceName(String datasourceName)
Set the JNDI datasource name.


getDefaultSchema

public String getDefaultSchema()
Get the default database schema.


setDefaultSchema

public void setDefaultSchema(String defaultSchema)
Set the default database schema.


getHbm2ddlAuto

public String getHbm2ddlAuto()

setHbm2ddlAuto

public void setHbm2ddlAuto(String hbm2ddlAuto)

getDialect

public String getDialect()
Get the Hibernate SQL dialect.


setDialect

public void setDialect(String dialect)
Set the Hibernate SQL dialect.


getMaxFetchDepth

public String getMaxFetchDepth()
Get the maximum outer join fetch depth.


setMaxFetchDepth

public void setMaxFetchDepth(String maxFetchDepth)
Set the maximum outer join fetch depth.


getJdbcBatchSize

public String getJdbcBatchSize()
Get the JDBC batch update batch size.


setJdbcBatchSize

public void setJdbcBatchSize(String jdbcBatchSize)
Set the JDBC batch update batch size.


getJdbcFetchSize

public String getJdbcFetchSize()
Get the JDBC fetch size.


setJdbcFetchSize

public void setJdbcFetchSize(String jdbcFetchSize)
Set the JDBC fetch size.


getJdbcScrollableResultSetEnabled

public String getJdbcScrollableResultSetEnabled()
Are scrollable result sets enabled?


setJdbcScrollableResultSetEnabled

public void setJdbcScrollableResultSetEnabled(String jdbcScrollableResultSetEnabled)

getGetGeneratedKeysEnabled

public String getGetGeneratedKeysEnabled()
Is the use of JDBC3 getGeneratedKeys() enabled?


setGetGeneratedKeysEnabled

public void setGetGeneratedKeysEnabled(String getGeneratedKeysEnabled)

getQuerySubstitutions

public String getQuerySubstitutions()
Get the query substitutions.


setQuerySubstitutions

public void setQuerySubstitutions(String querySubstitutions)
Set the query substitutions.


getQueryCacheEnabled

public String getQueryCacheEnabled()
Is the query cache enabled?


setQueryCacheEnabled

public void setQueryCacheEnabled(String queryCacheEnabled)

getCacheProviderClass

public String getCacheProviderClass()
Get the cache provider class.


setCacheProviderClass

public void setCacheProviderClass(String cacheProviderClass)
Set the cache provider class.


getCacheRegionPrefix

public String getCacheRegionPrefix()

setCacheRegionPrefix

public void setCacheRegionPrefix(String cacheRegionPrefix)

getMinimalPutsEnabled

public String getMinimalPutsEnabled()

setMinimalPutsEnabled

public void setMinimalPutsEnabled(String minimalPutsEnabled)

getShowSqlEnabled

public String getShowSqlEnabled()
Is SQL being logged to the console?


setShowSqlEnabled

public void setShowSqlEnabled(String showSqlEnabled)

getUsername

public String getUsername()
Get the database username.


setUsername

public void setUsername(String username)
Set the database username.


getPassword

public String getPassword()
Get the database password.


setPassword

public void setPassword(String password)
Set the database password.


getSessionFactoryInterceptor

public String getSessionFactoryInterceptor()

setSessionFactoryInterceptor

public void setSessionFactoryInterceptor(String sessionFactoryInterceptor)

isDirty

public boolean isDirty()

isSessionFactoryRunning

public boolean isSessionFactoryRunning()

getDeployedTreeCacheJndiName

public String getDeployedTreeCacheJndiName()

setDeployedTreeCacheJndiName

public void setDeployedTreeCacheJndiName(String deployedTreeCacheJndiName)

getBatchVersionedDataEnabled

public String getBatchVersionedDataEnabled()

setBatchVersionedDataEnabled

public void setBatchVersionedDataEnabled(String batchVersionedDataEnabled)

getStreamsForBinaryEnabled

public String getStreamsForBinaryEnabled()

setStreamsForBinaryEnabled

public void setStreamsForBinaryEnabled(String streamsForBinaryEnabled)

getReflectionOptimizationEnabled

public String getReflectionOptimizationEnabled()

setReflectionOptimizationEnabled

public void setReflectionOptimizationEnabled(String reflectionOptimizationEnabled)

rebuildSessionFactory

public void rebuildSessionFactory()
                           throws Exception
Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.