org.apache.ojb.broker.accesslayer
Class RelationshipPrefetcherFactory

java.lang.Object
  extended by org.apache.ojb.broker.accesslayer.RelationshipPrefetcherFactory

public class RelationshipPrefetcherFactory
extends Object

Factory for Relationship Prefetchers

Version:
$Id: RelationshipPrefetcherFactory.java,v 1.1 2007-08-24 22:17:30 ewestfal Exp $
Author:
Jakob Braeuchi

Field Summary
private  PersistenceBrokerImpl broker
           
 
Constructor Summary
RelationshipPrefetcherFactory(PersistenceBrokerImpl broker)
           
 
Method Summary
 RelationshipPrefetcher createRelationshipPrefetcher(ClassDescriptor anOwnerCld, String aRelationshipName)
          create either a CollectionPrefetcher or a ReferencePrefetcher
 RelationshipPrefetcher createRelationshipPrefetcher(ObjectReferenceDescriptor ord)
          create either a CollectionPrefetcher or a ReferencePrefetcher
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

broker

private PersistenceBrokerImpl broker
Constructor Detail

RelationshipPrefetcherFactory

public RelationshipPrefetcherFactory(PersistenceBrokerImpl broker)
Method Detail

createRelationshipPrefetcher

public RelationshipPrefetcher createRelationshipPrefetcher(ObjectReferenceDescriptor ord)
create either a CollectionPrefetcher or a ReferencePrefetcher


createRelationshipPrefetcher

public RelationshipPrefetcher createRelationshipPrefetcher(ClassDescriptor anOwnerCld,
                                                           String aRelationshipName)
create either a CollectionPrefetcher or a ReferencePrefetcher



Copyright © 2007-2012 The Kuali Foundation. All Rights Reserved.