uk.co.concise.maven.hdc
Class HibernatePlugin

java.lang.Object
  extended by uk.co.concise.maven.hdc.HibernatePlugin
Direct Known Subclasses:
HistoricalDataCollector, TimeChart

public abstract class HibernatePlugin
extends java.lang.Object

Maven plugin that needs Hibernate configuration information.

Author:
martenssonb

Constructor Summary
HibernatePlugin()
           
 
Method Summary
protected  void configure()
          Configures Hibernate.
 java.lang.String getDbDriverClass()
           
 java.lang.String getDbHibernateDialect()
           
 java.lang.String getDbPass()
           
 java.lang.String getDbUrl()
           
 java.lang.String getDbUser()
           
 void setDbDriverClass(java.lang.String dbDriverClass)
           
 void setDbHibernateDialect(java.lang.String dbHibernateDialect)
           
 void setDbPass(java.lang.String dbPass)
           
 void setDbUrl(java.lang.String dbUrl)
           
 void setDbUser(java.lang.String dbUser)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernatePlugin

public HibernatePlugin()
Method Detail

getDbDriverClass

public java.lang.String getDbDriverClass()
Returns:
Returns the dbDriverClass.

setDbDriverClass

public void setDbDriverClass(java.lang.String dbDriverClass)
Parameters:
dbDriverClass - The dbDriverClass to set.

getDbHibernateDialect

public java.lang.String getDbHibernateDialect()
Returns:
Returns the dbHibernateDialect.

setDbHibernateDialect

public void setDbHibernateDialect(java.lang.String dbHibernateDialect)
Parameters:
dbHibernateDialect - The dbHibernateDialect to set.

getDbPass

public java.lang.String getDbPass()
Returns:
Returns the database password.

setDbPass

public void setDbPass(java.lang.String dbPass)
Parameters:
dbPass - The database password to set.

getDbUrl

public java.lang.String getDbUrl()
Returns:
Returns the dbUrl.

setDbUrl

public void setDbUrl(java.lang.String dbUrl)
Parameters:
dbUrl - The dbUrl to set.

getDbUser

public java.lang.String getDbUser()
Returns:
Returns the dbUser.

setDbUser

public void setDbUser(java.lang.String dbUser)
Parameters:
dbUser - The dbUser to set.

configure

protected void configure()
Configures Hibernate. Must be called after the hibernate configuration setter methods have been called, e.g. setDbUser.



Copyright © 2004-2005 Concise. All Rights Reserved.