Create a base class that implements all interfaces you want to have
on your generated classes...as such:

public abstract MyBaseClass 
    implements FooInterface....
{
    public MyBaseClass {
        super();
    }
}


Then Just edit the castorbuilder.properties to specify MyBaseClass
as the superclass for all generated classes.

--Keith


uzair ahmad wrote:
> 
> Hello there !!
> 
> I need to make the castor generated class definitions to implement some
> interface other than "java.io.Serializable"
> 
> How can i modify castor in such a manner that it doesn't harm rest of the
> things.
> 
> Regards
> uzair
> 
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
> 
> -----------------------------------------------------------
> 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

Reply via email to