You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Shawn Jiang <ge...@gmail.com> on 2011/06/01 15:15:59 UTC

Re: Standalone Modules (Re: svn commit: r1129784)

Good suggestion,  I added a patch to OPENEJB-1322.  Could you take a look ?

On Wed, Jun 1, 2011 at 5:06 AM, David Blevins <da...@gmail.com>wrote:

>
> On May 31, 2011, at 9:29 AM, genspring@apache.org wrote:
>
> > 1, add a isStandalone field for modules.  when the module is part of a
> ear, it's not standalone.
>
> Since we already have an immutable "standaloneModule" boolean in AppModule.
>  Maybe instead of adding second mutable boolean for the same thing, we could
> add a 'DeploymentModule parent' field and implement isStandaloneModule() of
> the child as:
>
>   public boolean isStandaloneModule() {
>       return parent.isStandaloneModule();
>   }
>
> Thoughts?
>
>
> -David
>
>


-- 
Shawn