Update of /cvsroot/xdoclet/xdoclet/core/src/xdoclet/ejb
In directory usw-pr-cvs1:/tmp/cvs-serv16978/core/src/xdoclet/ejb

Modified Files:
        AbstractEjbSubTask.java EntityPkSubTask.java 
        HomeInterfaceSubTask.java LocalHomeInterfaceSubTask.java 
        LocalInterfaceSubTask.java RemoteInterfaceSubTask.java 
Log Message:
Added support for:
  i) customizing the name of remote, local, home and localhome, and pk interfaces/class
  ii) turning generation on/off for the above types at a class level
This is done via the following tags:
 *   @ejb:interface generate=none remote-class=test.interfaces.Account
 *   @ejb:home generate=none remote-home=test.interfaces.AccountHome
 *   @ejb:pk generate=false

@ejb:interface supports:
  - generate, default=both, options: both,remote,local,none
  - remote-class, the fully-qualified name of the remote interface to be used
  - local-class, the fully-qual. name of the local interface
  - remote-pattern, the pattern to be used for remote-class in the case that
    remote-class is absent
  - local-pattern, as for remote-pattern but local
  - pattern, pattern to be used if remote- or local- pattern are absent
  - remote-package, the package the remote interface should go in
  - local-package, same, but for local
  - package, package to be used if neither remote- or local- package are present.

@ejb:home is essentially the same as @ejb:interface

@ejb:pk has one additional property generate, which defaults to true, but if false
the pk wont be generated.

I tested this against account, but haven't checked in the changes to the samples - I
will if people want.



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

Reply via email to