maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Tran <dant...@gmail.com>
Subject Re: Singleton under plugin execution
Date Fri, 27 Jun 2014 19:28:23 GMT
It turns out each plugin has its own instance of singleton.

I am still not sure if the singleton applies in reactor mode per plugin

-D


On Mon, Jun 9, 2014 at 11:22 AM, Dan Tran <dantran@gmail.com> wrote:

> Hi,
>
> I am planning to create a singleton ( via plexus component ) which has it
> own internal states.
> to be used by my plugin.
>
> The question is that would the my singleton instance shared across
>
>   - multiple executions within a project
>
>   - multiple projects via reactor?
>
>   - or it is just for single execution of a mojo?
>
> Thanks
>
> -Dan
>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message