Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 263448

Summary: org.eclipse.emf.internal.cdo.bundle.Activator activates CDOPackageTypeRegistryImpl during deactivation
Product: [Modeling] EMF Reporter: Victor Roldan Betancort <vroldanbet>
Component: cdo.coreAssignee: Project Inbox <emf.cdo-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: stepper, vroldanbet
Version: 2.0   
Target Milestone: M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 265435    
Bug Blocks:    

Description Victor Roldan Betancort CLA 2009-02-03 07:19:33 EST
protected void doStop() throws Exception
{
 CDOViewProviderRegistryImpl.INSTANCE.deactivate();
 CDOPackageTypeRegistryImpl.INSTANCE.deactivate();
}

if CDOPackageTypeRegistryImpl wasn't activated, it will be, and then deactivated. CDOPackageTypeRegistryImpl does a lot of stuff during its activation. Is it possible to avoid activation of this class if it wasn't necesary during bundles lifecycle?
Comment 1 Eike Stepper CLA 2009-02-03 10:24:23 EST
It's possible that we won't need the package type registry after we re-introduced legacy models. I'd like to postpone this decision until legacy models work properly. Legacy models have high priority.

Do you think that I need to spend time now how to optimize what you observed?
Comment 2 Victor Roldan Betancort CLA 2009-02-03 14:23:06 EST
Eike,

no it's not urgent, I prefer you to put efforts in Legacy models :)
Comment 3 Eike Stepper CLA 2009-03-29 23:34:08 EDT
Fixed in bug 265435
Comment 4 Eike Stepper CLA 2009-04-02 17:34:44 EDT
Fix available in EMF CDO 2.0.0M6b
Comment 5 Eike Stepper CLA 2009-06-27 11:49:24 EDT
Generally available.