Spring Data Commons

org.springframework.data.mapping.model
Class PreferredConstructorDiscoverer<T>

java.lang.Object
  extended by org.springframework.data.mapping.model.PreferredConstructorDiscoverer<T>

public class PreferredConstructorDiscoverer<T>
extends Object

Helper class to find a PreferredConstructor.

Author:
Oliver Gierke

Constructor Summary
  PreferredConstructorDiscoverer(Class<T> type)
           
protected PreferredConstructorDiscoverer(TypeInformation<T> owningType)
          Creates a new PreferredConstructorDiscoverer for the given type.
 
Method Summary
 PreferredConstructor<T> getConstructor()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreferredConstructorDiscoverer

public PreferredConstructorDiscoverer(Class<T> type)

PreferredConstructorDiscoverer

protected PreferredConstructorDiscoverer(TypeInformation<T> owningType)
Creates a new PreferredConstructorDiscoverer for the given type.

Parameters:
owningType -
Method Detail

getConstructor

public PreferredConstructor<T> getConstructor()

Spring Data Commons

Copyright © 2011. All Rights Reserved.