[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-9443) Wizard for creating Service implementations (ServiceLoader / Service file)

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Fri Aug 5 14:06:29 EDT 2011


    [ https://issues.jboss.org/browse/JBIDE-9443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619185#comment-12619185 ] 

Alexey Kazakov commented on JBIDE-9443:
---------------------------------------

We think it could take a few days to implement such a wizard.
We can report a feature request to bugzilla. Not sure we can provide a good patch for JDT. This wizard can be implemented in a few ways. It can be a separate wizard or just a check box "register as a service implementation) in the New Class wizard. Anyway we can file it to bugzilla as an idea and implement it for JBT.
If/when JDT team implement their own wizard we will remove our own one.

> Wizard for creating Service implementations (ServiceLoader / Service file)
> --------------------------------------------------------------------------
>
>                 Key: JBIDE-9443
>                 URL: https://issues.jboss.org/browse/JBIDE-9443
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: common
>    Affects Versions: 3.3.0.M2
>            Reporter: Lincoln Baxter III
>            Assignee: Max Rydahl Andersen
>
> It would be very nice if we had a wizard or hotkey to create a new service implementation:
> CTRL-N
> --> New Service Implementation Class
> 1. Wizard asks you to specify the service Interface you wish to implement, and then lets you give the typical new-class information (with Interface already populated and greyed out.)
> 2. When submitted, the wizard creates the implementing class, and also creates a service file in the java-resources 'META-INF/services' directory, containing the name of your service implementation class. If the Service file already exists, your class should be added to it on a new line:
> META-INF/services/org.example.service.spi.Interface

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list