Refering back to a previous posting about the removing an existing SCA composite from the Tuscany runtime, I was try to determine what is required in the process of removing a composite from the runtime. Looking through the code, it seems that a couple things need to be done:
1) Add a method that can stop the CompositeComponent object representing the composite 2) Add an unregister method to the CompositeComponent interface and have it remove the objects that are added by the corresponding register methods. These would the register methods found in CompositeComponentExtension and AbstractCompositeComponent. These were the main aspects I discovered as I traced through the code. Is there any other interaction with the Tuscany Runtime instance and that application that needs to be dealt with? Or are there more register implementations that need to have corresponding unregister methods? Any feedback would be appreciated. Thanks. Kapish Aggarwal
