Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » jmx » [javadoc | source]
org.hibernate.jmx
public class: HibernateService [javadoc | source]
java.lang.Object
   org.hibernate.util.ExternalSessionFactoryConfig
      org.hibernate.jmx.HibernateService

All Implemented Interfaces:
    HibernateServiceMBean

Implementation of HibernateServiceMBean. Creates a SessionFactory and binds it to the specified JNDI name.

All mapping documents are loaded as resources by the MBean.
Method from org.hibernate.jmx.HibernateService Summary:
buildSessionFactory,   createSchema,   dropSchema,   getAutoCloseSessionEnabled,   getDatasource,   getExtraProperties,   getFlushBeforeCompletionEnabled,   getJndiName,   getName,   getPassword,   getProperties,   getProperty,   getPropertyList,   getTransactionManagerLookupStrategy,   getTransactionStrategy,   getUserName,   getUserTransactionName,   setAutoCloseSessionEnabled,   setDatasource,   setFlushBeforeCompletionEnabled,   setJndiName,   setPassword,   setProperty,   setTransactionManagerLookupStrategy,   setTransactionStrategy,   setUserName,   setUserTransactionName,   start,   stop
Methods from org.hibernate.util.ExternalSessionFactoryConfig:
addAdditionalProperty,   addAll,   addMapResource,   buildConfiguration,   buildProperties,   getBatchVersionedDataEnabled,   getCacheProviderClass,   getCacheProviderConfig,   getCacheRegionPrefix,   getCommentsEnabled,   getCustomListeners,   getDefaultCatalog,   getDefaultSchema,   getDialect,   getExcludedPropertyNames,   getExtraProperties,   getGetGeneratedKeysEnabled,   getJdbcBatchSize,   getJdbcFetchSize,   getJdbcScrollableResultSetEnabled,   getMapResources,   getMaximumFetchDepth,   getMinimalPutsEnabled,   getQueryCacheEnabled,   getQuerySubstitutions,   getReflectionOptimizationEnabled,   getSecondLevelCacheEnabled,   getShowSqlEnabled,   getStreamsForBinaryEnabled,   setBatchVersionedDataEnabled,   setCacheProviderClass,   setCacheProviderConfig,   setCacheRegionPrefix,   setCommentsEnabled,   setCustomListener,   setCustomListeners,   setCustomListenersAsString,   setDefaultCatalog,   setDefaultSchema,   setDialect,   setGetGeneratedKeysEnabled,   setJdbcBatchSize,   setJdbcFetchSize,   setJdbcScrollableResultSetEnabled,   setMapResources,   setMaximumFetchDepth,   setMinimalPutsEnabled,   setQueryCacheEnabled,   setQuerySubstitutions,   setReflectionOptimizationEnabled,   setSecondLevelCacheEnabled,   setShowSqlEnabled,   setStreamsForBinaryEnabled
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.jmx.HibernateService Detail:
 SessionFactory buildSessionFactory() throws HibernateException 
 public  void createSchema() 
 public  void dropSchema() 
 public String getAutoCloseSessionEnabled() 
 public String getDatasource() 
 protected Map getExtraProperties() 
 public String getFlushBeforeCompletionEnabled() 
 public String getJndiName() 
 public String getName() 
 public String getPassword() 
 public Properties getProperties() 
 public String getProperty(String property) 
 public String getPropertyList() 
 public String getTransactionManagerLookupStrategy() 
 public String getTransactionStrategy() 
 public String getUserName() 
 public String getUserTransactionName() 
 public  void setAutoCloseSessionEnabled(String enabled) 
 public  void setDatasource(String datasource) 
 public  void setFlushBeforeCompletionEnabled(String enabled) 
 public  void setJndiName(String jndiName) 
 public  void setPassword(String password) 
 public  void setProperty(String property,
    String value) 
 public  void setTransactionManagerLookupStrategy(String lkpStrategy) 
 public  void setTransactionStrategy(String txnStrategy) 
 public  void setUserName(String userName) 
 public  void setUserTransactionName(String utName) 
 public  void start() throws HibernateException 
 public  void stop()