com.zphinx.spine.data.impl
Class HibernateProxy
java.lang.Object
com.zphinx.spine.data.AbstractDataProxy
com.zphinx.spine.data.impl.HibernateProxy
public class HibernateProxy
- extends AbstractDataProxy
HibernateProxy represents a proxy class which is used to call Hibernate DataAccess objects.
- Version:
- $1.0
Copyright ©Zphinx Software Solutions
- Author:
- David Ladapo
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernateProxy
public HibernateProxy()
- Public Constructor
close
public void close(DataAccessObject dao)
throws SpineApplicationException
- Description copied from class:
AbstractDataProxy
- Close and dispose of all opened resources
- Specified by:
close in class AbstractDataProxy
- Parameters:
dao - The DataAccessObject associated with this proxy
- Throws:
SpineApplicationException
open
protected DataAccessObject open(Object obj,
String className,
DAOInput daoCons)
throws SpineApplicationException
- Description copied from class:
AbstractDataProxy
- Open the datastore and fetch the correct type of persistence
- Specified by:
open in class AbstractDataProxy
- Parameters:
obj - Arbitary object to pass to this methodclassName - A String representing the type of DAO to create.daoCons - The DaoConstructor passed to this object
- Returns:
- A suitable DataAccessObject object if the operation succeeds
- Throws:
SpineApplicationException