Re: Generating classes per method

Apchan <[email protected]>
Newsgroups gmane.comp.java.xdoclet-plugins
Message-ID <[email protected]>
Great, ty. By the way, do you know if QDox supports Java Collection
Templates? ie., List<Object>. I want to get the type of the template. So
far, if I call JavaMethod.getReturns() for getting the return type of a
method it will only return List.

Thanks,
apchan


Konstantin Priblouda wrote:
> 
> 
> 
> --- Apchan <[email protected]> wrote:
> 
>> 
>> Hey Thanks again Konstantin. 
>> 
>> I've looked at the generama/xdoclet source, but I
>> think its a better idea
>> just to write my own homegrown solution using qdox
>> and velocity. That way I
>> have full control and don't need to be restricted. 
> 
> In this case you will have to duplicate some plugin
> functionality ( for example: integration into ant etc.
> )
> 
> Since XD2 uses pico container to assemble application,
> 
> your class ( plugin ) has to do not very much:
>  - have public constructor
>  - state in public constructor that it needs 
>    metadata provider ( qdox metadata provider etc ) 
>  - provide "public void start()" which does the work
> 
> Then it can be executed by xdoclet/generama.
> I would also recommend to write fromal tags
> ( taglib plugin ) to take advandate of automatic
> validtion.
> 
> regards,
> 
> ----[ Konstantin Pribluda http://www.pribluda.de ]----------------
> Still using XDoclet 1.x?  XDoclet 2 is released and of production quality.
> check it out: http://xdoclet.codehaus.org
> 
> 
>  
> ____________________________________________________________________________________
> Yahoo! Music Unlimited
> Access over 1 million songs.
> http://music.yahoo.com/unlimited
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> xdoclet-plugins-interest mailing list
> xdoclet-plugins-interest-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest
> 
> 

-- 
View this message in context: http://www.nabble.com/Generating-classes-per-method-tf2701080.html#a7582746
Sent from the Xdoclet-Plugins mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.