Package org.jboss.resteasy.util
Class PickConstructor
java.lang.Object
org.jboss.resteasy.util.PickConstructor
Pick
- Version:
- $Revision: 1 $
-
Constructor Summary
Constructors -
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 class Picks constructor with most parameters. Will ignore constructors that have parameters with no @Context annotation- Parameters:
clazz
-- Returns:
-
pickPerRequestConstructor
Pick best constructor for a provider or resource class Picks constructor with most parameters. Will ignore constructors that have parameters with no @Context annotation- Parameters:
clazz
-- Returns:
-