On 10/26/05, Warner Onstine <[EMAIL PROTECTED]> wrote:

> Ok, I'm working on implementing the custom proxy class and am having
> some issues. When I try and use my custom Proxy class I get the
> following:
>
> Unable to create proxy using class:org.kuali.module.chart.bo.AccountProxy
>
> AccountProxy extends the VirtualProxy class and implements my
> interface that I want. I also added in the following constructor:
> public AccountProxy(IndirectionHandler handler) {
>     super(handler);
> }
>
> After I initially got the error message. In the docs it references
> another constructor that accepts an Identity and PersistenceBroker,
> but this no longer seems to be the right way to do this, is this
> correct?

In the unit tests there is an example of such a proxy:

http://cvs.apache.org/viewcvs.cgi/db-ojb/src/test/org/apache/ojb/broker/ProductGroupProxy.java?rev=1.5.2.3&view=markup

I haven't checked the docs, but if you say that there are no longer
valid, please add an issue to OJB's JIRA so that we do not forget to
update them for the next release.

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to