this.fields = new ArrayList<FieldInjector>();
if (scope == ComponentLifecycleScope.PER_REQUEST)
{
for (Constructor<?> constructor : resourceClass.getConstructors())
{
constructors.add(new ConstructorDescriptorImpl(resourceClass, constructor));
}
if (constructors.size() == 0)
{
String msg = "Not found accepted constructors for resource class " + resourceClass.getName();
throw new RuntimeException(msg);