A wise old hermit known only as Dmitri Colebatch <[EMAIL PROTECTED]> once 
said:

> On Mon, 20 Aug 2001, Vincent Harcq wrote:
> > 2. Generate Flag for interface, home and pk:
> > Have something like:
> > ejb:interface generate="false" remote-class="com.abc.SomethingRemote"
> > local-class="com.abc.SomethingLocal"
> > Same for home and pk
> 
> I'm just starting on this now, and thought I'd post in case anyone was
> checking... I think that the following tags make sense:
> 
>  *
>  *   @ejb:interface generate="both" 
>  *                  remote-class="test.interfaces.remote.Account" 
>  *                  local-class="test.interfaces.local.Account"
>  *   @ejb:home      generate="both"
>  *                  remote-class="test.interfaces.remote.AccountHome"
>  *                  local-class="test.interfaces.local.AccountHome"
>  *   @ejb:pk        generate="true"
>  *                  class="test.interfaces.AccountPK"
>  *
> 
> generate can be both|local|remote|none - both being default.  ditto for
> home.  I'm just going to change the relevant subtasks to set and unset 
> the relevant patterns... trust that all sounds reasonable.

Though not if ejbspec is set to 1.1, in which case remote should be the 
default (unless, of course, the home generation task quits without doing 
anything anyway for 1.1?)
Also, like Ara, I prefer "local,remote" rather than "both".
And lastly, I'd like a default (also "local,remote"?) on @interface-method 
so I don't need to include the view-type parameter on every method, just 
those that are unusual.


Andrew

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to