[
https://issues.apache.org/jira/browse/FELIX-4419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13893179#comment-13893179
]
Guillaume Sauthier commented on FELIX-4419:
-------------------------------------------
Is this really necessary to exposes theses internal classes/packages ?
Maybe we should use the service way:
{code:java}
public interface DeclarationService {
InstanceDeclaration newInstance(String name, String component);
// Provide any other necessary/friendly methods
}
{code}
This way we can keep private all of our internal bits.
Thinking aloud about this interface:
* does it need to expose an InstanceDeclaration or some kind of handle to the
declaration (something that can be use to retract the declaration) ?
* does it need to have some fluid API (something like what you've done for the
{{@Configuration}} API) ?
WDYT ?
> Open access to InstanceDeclaration and TypeDeclaration
> ------------------------------------------------------
>
> Key: FELIX-4419
> URL: https://issues.apache.org/jira/browse/FELIX-4419
> Project: Felix
> Issue Type: Bug
> Components: iPOJO
> Affects Versions: ipojo-runtime-1.11.0
> Reporter: Clement Escoffier
> Assignee: Clement Escoffier
> Fix For: ipojo-runtime-1.12.0
>
>
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)