This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

XDoxlet and interfaces

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am looking to create a new XDoclet subtask. I want to generate Corba IDL files for EJB's. One approach would be to extend the ejb subtasks, but I would rather create a new subtask. I would also prefer using the remote and home interface rather then the ejb implementation class. Partly because it should be enough to create an idl from an existing Ejb without having its source code, just its interfaces. My problem is that I can't make the XDtClass:forAllClasses and the XDtMethod:forAllMethods work on interfaces. Do I really have to create a new InterfaceTagsHandler to be able to parse interfaces or is there a trick I don't know about to make existing taghandlers work with interfaces?
thanks, Mike
 
Michael Schoning
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I crash and bang and can not find a solution. Then I post it on a newsgroup and bang I see it myself. Whay is it always like that? It wasn't a problem reading interfaces, it was a problem reading generated interaces. Easy fix I just added a generated attribute that can be true or false to the ClassTagsHandler.
thanks anyway, Mike
 
Author
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm glad you found what you were looking for. If only I had time to post and plug XDoclet in Action...
I would urge you to submit your task to the XDoclet project when you get it done. I bet others might find it useful too...
 
Crusading Chameleon likes the size of this ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!