[
https://issues.apache.org/jira/browse/FELIX-1885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Sauthier updated FELIX-1885:
--------------------------------------
Attachment: creation-strategy.patch
This patch provides a new 'strategy' package in o.a.f.ipojo....providedservice
that contains:
* ConfigurableCreationStrategy: the new strategy subclass that helps with Java
proxy providing
* ErrorReportingServiceFactoryProxy: The proxy that handle all provided
interfaces of the service, but only do usefull stuff on iPOJOServiceFactory
methods, otherwise printing a meaningful error message
* ServiceObjectFactory: an IPOJOServiceFactory extended interface with a
close() method called on strategy unpublication
> Ease CreationStrategy & iPOJOServiceFactory usage
> -------------------------------------------------
>
> Key: FELIX-1885
> URL: https://issues.apache.org/jira/browse/FELIX-1885
> Project: Felix
> Issue Type: Improvement
> Components: iPOJO
> Reporter: Guillaume Sauthier
> Attachments: creation-strategy.patch
>
>
> As per the following blog post, providing its own CreationStrategy is not so
> easy:
> http://ipojo-dark-side.blogspot.com/2009/04/customized-service-object-creation-with.html
> I would like to provide a new CreationStrategy subclass that deals directly
> with reflection (proxy stuff), so that provifing a new iPOJOServiceFactory is
> much more easier to do.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.