org.rhq.helpers.perftest.support.jpa
Class EagerMappingInclusionResolver
java.lang.Object
org.rhq.helpers.perftest.support.jpa.EagerMappingInclusionResolver
- All Implemented Interfaces:
- DependencyInclusionResolver
public class EagerMappingInclusionResolver
- extends Object
- implements DependencyInclusionResolver
A DependencyInclusionResolver implementation that consideres an edge valid
if the JPA defines the fetch type as FetchType.EAGER.
Note that this is just an example implementation of the interface with no practical use because
of the lack of flexibility of this simple rule.
- Author:
- Lukas Krejci
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EagerMappingInclusionResolver
public EagerMappingInclusionResolver()
isValid
public boolean isValid(Edge edge)
- Specified by:
isValid in interface DependencyInclusionResolver
- Returns:
- true if the edge should be traversed, false otherwise
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.