Package org.jboss.resteasy.spi.util
Class PickConstructor
java.lang.Object
org.jboss.resteasy.spi.util.PickConstructor
Pick
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Constructor
pickPerRequestConstructor
(Class clazz) Pick best constructor for a provider or resource classstatic Constructor
pickSingletonConstructor
(Class clazz) Pick best constructor for a provider or resource class
-
Constructor Details
-
PickConstructor
public PickConstructor()
-
-
Method Details
-
pickSingletonConstructor
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
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
-