Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a name meaning "not a singleton"?

Is there a name meaning "not a singleton"?

like image 909
Richard Nagle Avatar asked Oct 24 '08 11:10

Richard Nagle


People also ask

Who is a singleton?

a child or animal that is the only one born at one birth: a research program involving twins and singletons. an only child in a family.

Whats the opposite of a singleton?

Actually, there is a variant on the Singleton called Multiton or Multiplton or something like that.

What is the point of singletons?

The Singleton's purpose is to control object creation, limiting the number to one but allowing the flexibility to create more objects if the situation changes. Since there is only one Singleton instance, any instance fields of a Singleton will occur only once per class, just like static fields.

When a singleton is not singleton in Java?

A singleton (in Java land) wouldn't work as a singleton if a given class is loaded by multiple class-loaders. Since a single class can exist (or can be loaded) in multiple classloaders, it's quite possible to have "multiple" instances of a "supposedly" singleton class for a given JVM instance.


1 Answers

Castle Windsor uses the term "transient" to describe all non-Singleton objects.

I personally prefer the term "non-Singleton" though.

like image 199
David Arno Avatar answered Sep 19 '22 18:09

David Arno