Edson,
The problem is for example: I have a classes that I use with persistance broker (OJB)
class Parent {
private Child child;
public Child getChild() {
OJBBeanManager.retrieveReferenceIfNull(this,”child”);
return child;
}
}
He OJB broker then does this.getClass().getName() – to get name of class requesting update of it’s reference and depending on the name it requests a proper datasource to get broker to perform transaction.
The name should be “Parent”, but it gets “ParentShadowProxy”, and cannot find it in datasource configuration.
Can I disable shadowing somehow? Or what shall I do…?
-Sergey
From:
rules-users-bounces@lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] On
Behalf Of Edson Tirelli
Sent: Tuesday, July 17, 2007 12:20
PM
To: Rules Users List
Subject: Re: [rules-users]
"<class name>ShadowProxy"
Sergey,
ShadowProxy classes are not supposed to be visible outside the
engine. What problem are you facing?
[]s
Edson
2007/7/17, Manukyan, Sergey < SManukyan@lear.com>:
Folks,
I am using MR3, my classes are being shadowed and I have something like "<class name>ShadowProxy" … I need to avoid that as my logic depends on class name, so I just need to disable shadowing right?
How can I do that?
Thanks,
-Sergey
********************** |
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
Edson Tirelli
Software Engineer - JBoss Rules Core Developer
Office: +55 11 3529-6000
Mobile: +55 11 9287-5646
JBoss, a division of Red Hat @ www.jboss.com