You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2017/04/13 06:46:41 UTC
[jira] [Resolved] (DOSGI-262) Configure intent objects from service
object (IntentsProvider, @Features)
[ https://issues.apache.org/jira/browse/DOSGI-262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Schneider resolved DOSGI-262.
---------------------------------------
Resolution: Fixed
> Configure intent objects from service object (IntentsProvider, @Features)
> -------------------------------------------------------------------------
>
> Key: DOSGI-262
> URL: https://issues.apache.org/jira/browse/DOSGI-262
> Project: CXF Distributed OSGi
> Issue Type: Bug
> Components: common
> Affects Versions: 2.1.0
> Reporter: Christian Schneider
> Assignee: Christian Schneider
> Fix For: 2.2.0
>
>
> Currently all CXF configs have to be done using service based intents. While this matches RSA spec nicely it is a bit indirect and extensive to set up.
> So for the special case where the intent should only work on a single service and only on the export we can make this simpler.
> public interface IntentsProvider {
> List<?> getIntents();
> }
> With an interface like this we can add logging:
> @Component( ... )
> public class TaskResourceImpl implements TaskResource, IntentsProvider {
> ....
> public List<?> getIntents() {
> return asList(new LoggingFeature());
> }
> }
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)