[
https://issues.jboss.org/browse/JBIDE-9443?page=com.atlassian.jira.plugin...
]
Lincoln Baxter III commented on JBIDE-9443:
-------------------------------------------
Many frameworks these days (including Arquillian, ShrinkWrap, Rewrite, and other JBoss
projects such as CDI use ServiceLoader to register custom / additional functionality.)
It's a feature of the JVM and it has no tooling :) You have to manually create the
folder/file in the right place and then add your class to it.
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/jst/core
Affects Versions: 3.3.0.M2
Reporter: Lincoln Baxter III
Assignee: Max Rydahl Andersen
Priority: Minor
Fix For: LATER
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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira