Hi all, 

In the documentation, it says that for an extension point where "users 
should be able to configure zero or more instances of some things you 
define", Describable/Descriptor pattern is preferred over Singleton 
pattern. 

>From a design point of view, which pattern is better when implementing an 
extension point where one or more instance might try to send the same 
thing? 

Also, I've seen that mostly the Descriptor pattern has been used with 
extensions linked to the UI. Is it a necessary condition?

Thanks, 
Rishabh Budhouliya

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/4ad4dc34-36d6-4f87-b28b-9d0858e9c68fn%40googlegroups.com.

Reply via email to