this.resourceClass = resourceClass;
}
public void registered(ResteasyProviderFactory factory)
{
ResourceConstructor constructor = resourceClass.getConstructor();
if (constructor == null) constructor = ResourceBuilder.constructor(resourceClass.getClazz());
if (constructor == null)
{
throw new RuntimeException("Unable to find a public constructor for class " + scannableClass.getName());
}