Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.castor.spring.orm;
 
 import  org.springframework.transaction.support.ResourceHolderSupport;

Holder wrapping a Castor JDO Database. CastorTransactionManager binds instances of this class to the thread, for a given JDOManager.

Note: This is an SPI class, not intended to be used by applications.

Author(s):
Juergen Hoeller
Since:
03.06.2003
See also:
CastorTransactionManager
JDOManagerUtils
public class DatabaseHolder extends ResourceHolderSupport {
    private Database database;
    public DatabaseHolder(Database database) {
        this. = database;
    }
    public Database getDatabase() {
        return this.;
    }
New to GrepCode? Check out our FAQ X