Class PersistenceInfoGroup

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

public class PersistenceInfoGroup extends Object
  • Constructor Details

    • PersistenceInfoGroup

      public PersistenceInfoGroup(LockEngine[] engines)
  • Method Details

    • getClassMolder

      public ClassMolder getClassMolder(Class type) throws ClassNotPersistenceCapableException
      Throws:
      ClassNotPersistenceCapableException
    • findClassMolderByQuery

      public final ClassMolder findClassMolderByQuery(String query)
      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.
    • findClassMolderByNativeQuery

      public final ClassMolder findClassMolderByNativeQuery(String query)
      Returns the ClassMolder associated with a given named native 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.
    • getLockEngine

      public LockEngine getLockEngine()