Skip to content

removed custom exception mapping and added jax-rs exception mappers#4

Open
jebl01 wants to merge 1 commit into
spebbe:masterfrom
jebl01:master
Open

removed custom exception mapping and added jax-rs exception mappers#4
jebl01 wants to merge 1 commit into
spebbe:masterfrom
jebl01:master

Conversation

@jebl01

@jebl01 jebl01 commented Aug 27, 2013

Copy link
Copy Markdown

No description provided.

@spebbe

spebbe commented Sep 2, 2013

Copy link
Copy Markdown
Owner

Very nice patch! Sadly, it seems that the Application.get() in CrysonExceptionMapperBase breaks applications that mount cryson in externally created spring contexts, as in the AdvancedCrysonDiary example. We'll have to find some other way of injecting the CrysonSerializer instance.

@jebl01

jebl01 commented Sep 4, 2013

Copy link
Copy Markdown
Author

Ok, guess one solution could be to generalise the "SpringComponentProviderFactory" and make it implement "IoCComponentProviderFactory" instead of the specialised "ResourceComponentProviderFactory". That would make it possible to have Spring inject all kind of Jersey providers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants