[jbosstools-issues] [JBoss JIRA] (JBIDE-19014) JAX-RS Web Services in Project Explorer does not show properly inherited metadata from abstract class

Marián Labuda (JIRA) issues at jboss.org
Thu Jan 8 09:42:29 EST 2015


Marián Labuda created JBIDE-19014:
-------------------------------------

             Summary: JAX-RS Web Services in Project Explorer does not show properly inherited metadata from abstract class
                 Key: JBIDE-19014
                 URL: https://issues.jboss.org/browse/JBIDE-19014
             Project: Tools (JBoss Tools)
          Issue Type: Feature Request
          Components: webservices
    Affects Versions: 4.2.1.Final
            Reporter: Marián Labuda


I am having abstract class and it's descendant with following code.
{code:title=AbstractResource.java}
@Path("/resource")
public abstract class AbstractResource {

	@GET
	public abstract void getSomeObject();
}
{code}

{code:title=SpecificResource.java}
public class SpecificResource extends AbstractResource {

	@GET
	@Path("specific-object")
	@Override
	public void getSomeObject() {
		// some code
	}	
}
{code}

Implementation of getSomeObject along with its path is used for evaluation of HTTP GET request, but in JAX-RS Web Services Explorer is shown only matching URL from abstract class "/resource" instead of "/resource/specific-object".



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)



More information about the jbosstools-issues mailing list