[JBoss JIRA] (JBIDE-16734) JAX-RS Validation: should report an error when resource is annotated with @javax.inject.Singleton and has JAX-RS fields
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16734?page=com.atlassian.jira.plugi... ]
Xavier Coulon updated JBIDE-16734:
----------------------------------
Fix Version/s: LATER
(was: 4.3.x)
> JAX-RS Validation: should report an error when resource is annotated with @javax.inject.Singleton and has JAX-RS fields
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-16734
> URL: https://issues.jboss.org/browse/JBIDE-16734
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: webservices
> Affects Versions: 4.1.1.Final
> Reporter: Xavier Coulon
> Assignee: Xavier Coulon
> Labels: jax-rs
> Fix For: LATER
>
>
> JAX-RS Validation: should report an error when resource is annotated with @javax.inject.Singleton and has JAX-RS fields.
> Eg:
> {code}
> @Path("resource")
> @Singleton
> public static class MySingletonResource {
>
> @QueryParam("query")
> String param; // WRONG: initialization of application will fail as you cannot
> // inject request specific parameters into a singleton resource.
>
> @GET
> public String get() {
> return "query param: " + param;
> }
> }
> {code}
> The exception exists for specific request objects which can injected even into constructor or class fields. For these objects the runtime will inject proxies which are able to simultaneously server more request. These request objects are HttpHeaders, Request, UriInfo, SecurityContext. These proxies can be injected using the @Context annotation
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 9 months
[JBoss JIRA] (JBIDE-10206) Provide a custom 'outline' view of the JAX-RS elements of a project
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-10206?page=com.atlassian.jira.plugi... ]
Xavier Coulon updated JBIDE-10206:
----------------------------------
Fix Version/s: LATER
(was: 4.3.x)
> Provide a custom 'outline' view of the JAX-RS elements of a project
> -------------------------------------------------------------------
>
> Key: JBIDE-10206
> URL: https://issues.jboss.org/browse/JBIDE-10206
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: webservices
> Affects Versions: 3.3.0.M4
> Reporter: Xavier Coulon
> Assignee: Xavier Coulon
> Priority: Minor
> Labels: jax-rs
> Fix For: LATER
>
>
> Using the actual CNF extension, provide a custom navigator-based view which should also display providers and custom HTTP Methods along with the current JAX-RS endpoints (URI + consumed and produced content types)
> This view should support content linking with the editor.
> If possible, also support Mylyn content filtering ?
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 9 months
[JBoss JIRA] (JBIDE-13111) Enable OK button only when all parameters have values set
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-13111?page=com.atlassian.jira.plugi... ]
Xavier Coulon updated JBIDE-13111:
----------------------------------
Fix Version/s: LATER
(was: 4.3.x)
> Enable OK button only when all parameters have values set
> ---------------------------------------------------------
>
> Key: JBIDE-13111
> URL: https://issues.jboss.org/browse/JBIDE-13111
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: webservices
> Affects Versions: 4.0.0.CR1
> Reporter: Jaroslav Jankovič
> Assignee: Xavier Coulon
> Labels: jax-rs, jax-ws
> Fix For: LATER
>
> Attachments: JBIDE-13111.jpg
>
>
> It would be useful, if OK button in "WS Tester: URL Parameters" dialog was disabled if there is at least one parameters without value set (by default/user defined value). I assume there is always need to set all parameters.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 9 months