Yup. If is a singleton, so I can't create another objects this type. This
case, I can create many objects this type.

On Thu, Dec 4, 2014 at 1:45 PM, Romain Manni-Bucau <[email protected]>
wrote:

> it is a "tomcat cluster" facade  to tomee deployer which is a singleton so
> yes
>
>
> Romain Manni-Bucau
> @rmannibucau
> http://www.tomitribe.com
> http://rmannibucau.wordpress.com
> https://github.com/rmannibucau
>
>
> 2014-12-04 14:11 GMT+01:00 Daniel Cunha <[email protected]>:
> > Hi folks,
> >
> > I'm reading about TomEE in cluster and etc..
> >
> > I looked this class:
> >
> >
> https://github.com/apache/tomee/blob/develop/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/cluster/TomEEClusterListener.java
> >
> > This is a singleton?
> > I didn't understand very well that INSTANCE:
> >
> https://github.com/apache/tomee/blob/develop/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/cluster/TomEEClusterListener.java#L43
> >
> > --
> > Daniel Cunha (soro) <http://www.cejug.net>
> > Blog: http://www.danielsoro.com.br
> > Twitter: https://twitter.com/dvlc_
> > GitHub: https://github.com/danielsoro
> > LinkedIn:  http://www.linkedin.com/in/danielvlcunha
>



-- 
Daniel Cunha (soro) <http://www.cejug.net>
Blog: http://www.danielsoro.com.br
Twitter: https://twitter.com/dvlc_
GitHub: https://github.com/danielsoro
LinkedIn:  http://www.linkedin.com/in/danielvlcunha

Reply via email to