I would be in favor on an immutable object. Maybe a builder cloning the configuration of an existing declaration.
On 11 févr. 2014, at 19:04, Guillaume Sauthier (JIRA) <j...@apache.org> wrote: > > [ > https://issues.apache.org/jira/browse/FELIX-4419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13898083#comment-13898083 > ] > > Guillaume Sauthier commented on FELIX-4419: > ------------------------------------------- > > I'm wondering if the created InstanceDeclaration should be modifiable after > creation ? > Like renaming, changing properties, ... > > > >> 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)