Package org.jboss.resteasy.spi.util
Class PickConstructor
- java.lang.Object
 - 
- org.jboss.resteasy.spi.util.PickConstructor
 
 
- 
public final class PickConstructor extends Object
Pick- Version:
 - $Revision: 1 $
 - Author:
 - Bill Burke
 
 
- 
- 
Constructor Summary
Constructors Constructor Description PickConstructor() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConstructorpickPerRequestConstructor(Class clazz)Pick best constructor for a provider or resource classstatic ConstructorpickSingletonConstructor(Class clazz)Pick best constructor for a provider or resource class 
 - 
 
- 
- 
Method Detail
- 
pickSingletonConstructor
public static Constructor pickSingletonConstructor(Class clazz)
Pick best constructor for a provider or resource classPicks constructor with most parameters. Will ignore constructors that have parameters with no @Context annotation
- Parameters:
 clazz- class- Returns:
 - constructor
 
 
- 
pickPerRequestConstructor
public static Constructor pickPerRequestConstructor(Class clazz)
Pick best constructor for a provider or resource classPicks constructor with most parameters. Will ignore constructors that have parameters with no @Context annotation
- Parameters:
 clazz- class- Returns:
 - constructor
 
 
 - 
 
 -