[Jersey-issues] [JIRA] Updated: (JERSEY-1159) Activation of features based on the presence of certain properties in the ResourceConfig property bag.

  • From: "mfuksa (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [Jersey-issues] [JIRA] Updated: (JERSEY-1159) Activation of features based on the presence of certain properties in the ResourceConfig property bag.
  • Date: Thu, 24 Jan 2013 09:53:53 +0000 (GMT+00:00)
  • Auto-submitted: auto-generated


     [ 
http://java.net/jira/browse/JERSEY-1159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

mfuksa updated JERSEY-1159:
---------------------------

    Assignee:     (was: mfuksa)

> Activation of features based on the presence of certain properties in the 
> ResourceConfig property bag.
> ------------------------------------------------------------------------------------------------------
>
>                 Key: JERSEY-1159
>                 URL: http://java.net/jira/browse/JERSEY-1159
>             Project: jersey
>          Issue Type: New Feature
>            Reporter: Martin Matula
>            Priority: Blocker
>             Fix For: 2.0-m12, 2.0
>
>   Original Estimate: 18 hours
>          Time Spent: 30 minutes
>  Remaining Estimate: 17 hours, 30 minutes
>
> There could for example be FeatureActivationProvider (or something 
> similar). Implementations of that could be registered through META-INF 
> services to "sniff" the resource config property bag during the application 
> initialization and based on the presence of certain properties add 
> feature-specific providers/modules, etc. - i.e. activate certain features.
> Other option would be to add a custom annotation like @ActivateOn({list of 
> property names}) that could be attached to providers to indicate, they 
> should only be used if a given property is present - such providers could 
> be registered through meta-inf services to be always found by the runtime, 
> but would only be used if a given property is set.
> DEMO: Rewrite UriConfigFitler to utilize the property activator - if 
> language or media type mapping property is present in the resource config, 
> the activator would automatically add the UriConnegFilter to the set of 
> providers. Add an integration test that uses web.xml to set media type 
> mappings and show it works without explicitly adding the UriConnegFilter to 
> the list of providers.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[Jersey-issues] [JIRA] Updated: (JERSEY-1159) Activation of features based on the presence of certain properties in the ResourceConfig property bag.

mfuksa (JIRA) 01/24/2013

<Possible follow-up(s)>

[Jersey-issues] [JIRA] Updated: (JERSEY-1159) Activation of features based on the presence of certain properties in the ResourceConfig property bag.

Pavel Bucek (JIRA) 01/29/2013

[Jersey-issues] [JIRA] Updated: (JERSEY-1159) Activation of features based on the presence of certain properties in the ResourceConfig property bag.

Pavel Bucek (JIRA) 01/29/2013
Terms of Use; Privacy Policy; Copyright ©2013-2017 (revision 20160708.bf2ac18)
 
 
Close
loading
Please Confirm
Close