[rules-users] "<class name>ShadowProxy"

Manukyan, Sergey SManukyan at lear.com
Tue Jul 17 13:56:35 EDT 2007


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 at lists.jboss.org
[mailto:rules-users-bounces at 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 at lear.com
<mailto:SManukyan at 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

 

**********************
** LEGAL DISCLAIMER **
**********************

This E-mail message and any attachments may contain 
legally privileged, confidential or proprietary 
information. If you are not the intended recipient(s),
or the employee or agent responsible for delivery of 
this message to the intended recipient(s), you are 
hereby notified that any dissemination, distribution 
or copying of this E-mail message is strictly 
prohibited. If you have received this message in 
error, please immediately notify the sender and 
delete this E-mail message from your computer.


_______________________________________________
rules-users mailing list
rules-users at 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 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070717/44e35c9a/attachment.html 


More information about the rules-users mailing list