org.exolab.castor.persist
Class PersistenceInfoGroup

java.lang.Object
  extended by org.exolab.castor.persist.PersistenceInfoGroup

public class PersistenceInfoGroup
extends java.lang.Object


Constructor Summary
PersistenceInfoGroup(LockEngine[] engines)
           
 
Method Summary
 ClassMolder findClassMolderByQuery(java.lang.String query)
          Returns the ClassMolder associated with a given named query (by the means of the mapping file).
 ClassMolder getClassMolder(java.lang.Class type)
           
 LockEngine getLockEngine()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistenceInfoGroup

public PersistenceInfoGroup(LockEngine[] engines)
Method Detail

getClassMolder

public ClassMolder getClassMolder(java.lang.Class type)
                           throws ClassNotPersistenceCapableException
Throws:
ClassNotPersistenceCapableException

findClassMolderByQuery

public ClassMolder findClassMolderByQuery(java.lang.String query)
                                   throws QueryException
Returns the ClassMolder associated with a given named query (by the means of the mapping file).

Parameters:
query - The name of the named query.
Returns:
ClassMolder instance associated with a given named query.
Throws:
QueryException - if there's an issue resolving the ClassMolder.

getLockEngine

public LockEngine getLockEngine()


Copyright © 2011. All Rights Reserved.