Hi

I noticed that CXF requires a default constructor, even when it delegates
down to a CDI container to do the work.  This is because all of the
resources/providers are passed to ResourceUtils.createApplication which in
turn creates the default PerRequestResourceProvider for those resource
classes.

When I create a dependent scoped CDI bean, I would expect I don't need a
default constructor, but right now its required.  I think we could create a
replacement if we passed the List<ResourceProvider> to
the JAXRSServerFactoryBean being created, instead of letting the default
version be created first.

John

Reply via email to