org.apache.ojb.broker.accesslayer
Class RelationshipPrefetcherFactory

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

public class RelationshipPrefetcherFactory
extends java.lang.Object

Factory for Relationship Prefetchers

Version:
$Id: RelationshipPrefetcherFactory.java 365232 2005-12-21 22:36:07Z tomdz $
Author:
Jakob Braeuchi

Constructor Summary
RelationshipPrefetcherFactory(PersistenceBrokerImpl broker)
           
 
Method Summary
 RelationshipPrefetcher createRelationshipPrefetcher(ClassDescriptor anOwnerCld, java.lang.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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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,
                                                           java.lang.String aRelationshipName)
create either a CollectionPrefetcher or a ReferencePrefetcher



(C) 2002 - 2006 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30