org.jboss.resteasy.util

## Class PickConstructor

- java.lang.Object
- - org.jboss.resteasy.util.PickConstructor

-     public class PickConstructor
      extends Object

  Pick
  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PickConstructor()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Constructor` | `pickPerRequestConstructor(Class clazz)` Pick best constructor for a provider or resource class Picks constructor with most parameters.
    `static Constructor` | `pickSingletonConstructor(Class clazz)` Pick best constructor for a provider or resource class Picks constructor with most parameters.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PickConstructor

          public PickConstructor()

  - ### Method Detail

    - #### pickSingletonConstructor

          public static Constructor pickSingletonConstructor(Class clazz)

      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

          public static Constructor pickPerRequestConstructor(Class clazz)

      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:

Copyright © 2014. All Rights Reserved.