[
https://issues.jboss.org/browse/JBIDE-9402?page=com.atlassian.jira.plugin...
]
Viacheslav Kabanovich commented on JBIDE-9402:
----------------------------------------------
To be more exact, CDI extension factory should recognize features in interfaces
implemented by extensions. The first version of extension factory defined list of features
so that to add new feature, developer had to create interface MyFeature, register it in
the extension factory, and add method Set<MyFeature> getMyFeature() to the extension
manager.
Now, developer will have only to create 'interface MyFeature extends ICDIFeature',
and the extension factory will recognize MyFeature as a CDI feature. Extension manager
already contains the proposed method, it is only necessary to bind it to a cache to make
it efficient.
Load CDI extensions dynamically
-------------------------------
Key: JBIDE-9402
URL:
https://issues.jboss.org/browse/JBIDE-9402
Project: Tools (JBoss Tools)
Issue Type: Task
Components: cdi
Affects Versions: 3.3.0.M3
Reporter: Alexey Kazakov
Assignee: Viacheslav Kabanovich
Fix For: 3.3.0.M3
We need to have something like {code}public <T extends IFeature> Set<T>
getFeatures(Class<T> cls);{code} in CDIExtensionManager to get a set of all the
available features registered for particular CDI extensions.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira