Hi Raymond , But how to generate the XXXFactory , could you give me a sample code ?
Thanks, litaojian 2007-07-05 发件人: Raymond Feng 发送时间: 2007-07-05 06:57:25 收件人: [email protected]; [EMAIL PROTECTED] 抄送: 主题: Re: How can i define a SDO Type with my custom interface ? Hi, If you are looking for a way to register the static types, you can use: HelperContext helperContext = HelperProvider.getDefaultContext(); XXXFactory.INSTANCE.register(HelperContext); // XXXFactory is the generated factory interface Thanks, Raymond ----- Original Message ----- From: "litaojian" <[EMAIL PROTECTED] > To: <[email protected] > Cc: "rfeng" <[EMAIL PROTECTED] > Sent: Wednesday, July 04, 2007 2:37 AM Subject: How can i define a SDO Type with my custom interface ? > Hi All , > I want to create a type that can be assicated with my java interface > , > then I could get the type as follow : > > Type type = TypeHelper.INSTANCE.getType(interfaceClass); > > > > Best Regards > > > > > litaojian > 2007-07-04 > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
