Hi Daniel, This sounds like it would very useful for many people who use Castor, thanks for your willingness to contribute back to the project.
Please read the simple, but important, guidelines for contributions here: http://castor.exolab.org/cvs.html#Guidelines-For-Code-Contribution The best way to submit a contribution, is through an enhancement request which can be filed on our bugzilla server (http://bugzilla.exolab.org). This way we can track the request and the diffs/code becomes immediately available to anyone who may be interested in experimenting with it. Thanks again, --Keith. Daniel Becker wrote: > > > Hello, > > We at Datalex are big fans of the Castor project and the Source Generator > > portion in particular. > > Over the years we have made modifications to the source code to tailor it > > to our needs. > > > > The major change we have introduce is an extension mechanism for the > > source generator. > > This allow to customize the way the source is generated on a per project > > basis. > > > > The extension mechanism is based around an Observer/Event Listener > > pattern. The observers are registered in the property file > > and loaded reflectively. There are extension points scattered through out > > the generation process. Each extension point call a method in the > > observers, with Source Generation objects (JClass, JMethod etc) and > > XMLTypes as appropriate to the point. This allows us to change the > > implementation of methods, add extra fields , methods and constructors > > etc. > > > > > > We're offering to contribute this code to the castor project, is there any > > intrest? > > > > Daniel Becker > > > > > > > > > > > ********************************************************************* > This electronic transmission is strictly confidential and intended solely > for the addressee. It may contain information which is covered by legal, > professional or other privilege. If you are not the intended addressee, > you must not disclose, copy or take any action in reliance of this > transmission. If you have received this transmission in error, > please notify the sender as soon as possible. > > This footnote also confirms that this message has been swept > for computer viruses. > ********************************************************************** > > ----------------------------------------------------------- > If you wish to unsubscribe from this mailing, send mail to > [EMAIL PROTECTED] with a subject of: > unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
