xdoclet.modules.hibernate
public class JBossServiceSubTask extends XmlSubTask implements HibernateProperties
Version: $Revision: 1.18 $
UNKNOWN: December 11, 2002 name = "jbossservice" display-name = "JBoss service configuration" parent = "xdoclet.modules.hibernate.HibernateDocletTask" file = "jboss-service-custom.xdt" relates-to = "jboss-service.xml" description = "An XML unparsed * entity or XDoclet template file, for custom elements to be included in the generated jboss-service.xml" file = "jboss-service-custom-attributes.ent" relates-to = "jboss-service.xml" description = "An XML * unparsed entity for custom attributes to be included within the <mbean/> block of the generated * jboss-service.xml"
Constructor Summary | |
---|---|
JBossServiceSubTask()
Constructor for the HibernateSubTask object |
Method Summary | |
---|---|
protected void | engineStarted()
Called when the engine is started
|
String | getAutoCreate() |
String | getCacheProvider() |
String | getDataSource() |
String | getDefaultSchema() |
String | getDepends() |
String | getDialect() |
String | getDriver() |
String | getJdbcFetchSize() |
String | getJdbcUrl() |
String | getJndiName() |
Collection | getJndiProperties() |
String | getMaxFetchDepth() |
Collection | getOtherMappings() |
Collection | getOtherProperties() |
String | getPassword() |
String | getPoolSize() |
String | getQuerySubstitutions() |
String | getServiceName()
return configured service name
|
boolean | getShowSql() |
String | getTransactionManagerStrategy() |
String | getTransactionStrategy() |
boolean | getUseOuterJoin() |
String | getUseQueryCache() |
String | getUserName() |
String | getUserTransactionName() |
String | getVersion() |
void | setAutoCreate(String autoCreate)
Parameter for hibernate.hbm2ddl.auto property. |
void | setCacheProvider(String cacheProvider)
The fully qualified class name of the Hibernate CacheProvider implementation. |
void | setDataSource(String dataSource)
JNDI name of data source to use in the session factory. |
void | setDefaultSchema(String string)
Only for Hibernate 2.1+
|
void | setDepends(String depends)
The complete name of the data source service name that this service depends on.
|
void | setDialect(String dialect)
SQL dialect of the
database. |
void | setJdbcFetchSize(String string)
Only for Hibernate 2.1+
|
void | setJndiName(String jndiName)
JNDI name to bind to the SessionFactory
|
void | setMaxFetchDepth(String string)
Only for Hibernate 2.1+
|
void | setPassword(String password)
Use this password to login to the database
|
void | setQuerySubstitutions(String string)
Only for Hibernate 2.1+
|
void | setServiceName(String serviceName) |
void | setShowSql(boolean showSql)
Log sql statements.
|
void | setTransactionManagerStrategy(String transactionManagerStrategy)
Strategy for obtaining the JTA TransactionManager
|
void | setTransactionStrategy(String transactionStrategy)
The fully qualified class name of the Hibernate TransactionFactory implementation.
|
void | setUseOuterJoin(boolean useOuterJoin)
Whether to use outer join
|
void | setUseQueryCache(String string)
Only for Hibernate 2.1+
|
void | setUserName(String userName)
Use this user name to login to the database
|
void | setUserTransactionName(String userTransactionName)
The JNDI name of the JTA UserTransaction object
|
void | setVersion(String version)
Set the Hibernate version that the jboss service should be generated for. |
void | validateOptions() |
Throws: XDocletException Thrown in case of problem
Returns:
Returns:
Returns:
Returns:
Returns:
Returns:
Parameters: autoCreate
UNKNOWN:
Parameters: cacheProvider
UNKNOWN:
Parameters: dataSource
UNKNOWN:
Parameters: string
UNKNOWN:
Parameters: depends
UNKNOWN:
Parameters: dialect
UNKNOWN:
Parameters: string
UNKNOWN:
Parameters: jndiName
UNKNOWN:
Parameters: string
UNKNOWN:
Parameters: password
UNKNOWN:
Parameters: string
UNKNOWN:
Parameters: serviceName
UNKNOWN:
Parameters: showSql
UNKNOWN: No.Defaultsto false.
Parameters: transactionManagerStrategy
UNKNOWN:
Parameters: transactionStrategy
UNKNOWN:
Parameters: useOuterJoin
UNKNOWN: No.Defaultsto false.
Parameters: string
UNKNOWN:
Parameters: userName
UNKNOWN:
Parameters: userTransactionName
UNKNOWN:
Parameters: version
UNKNOWN: