SamCooper / JAVA_SPEC_RIDS

Repository for collecting MO Java API RIDs
0 stars 0 forks source link

Maybe have automatic init of areas and services #20

Open SamCooper opened 8 years ago

SamCooper commented 8 years ago

Easy enough to do but should be able to disable this in situations where we don't want it all.

But would remove the need for deepInits being called and the errors that come with missing that out.

gbonnefille commented 7 years ago

As a requirement for the new design, please consider the need to allow the user to finely control registration and unregistration.

For example, when used in a OSGi context, a natural way to init areas and services is to do such thing in the Activator. But to respect OSGi design, the Activator must be able to undo everything to allow the unloading of the bundles.