[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Instrumented Classes  XML
Forum Index -> Terracotta for Spring
Author Message
vijay

journeyman

Joined: 03/02/2007 06:07:24
Messages: 22
Offline

Hi all,

Is it necessary that any class object coming under root needs to be instrumented(i.e that class needs a mention under <instrumented-classes> )?

Is there any way I can prevent classes under root from being instrumented?

Any thoughts.
Gordon

journeyman

Joined: 12/13/2006 00:38:30
Messages: 44
Offline

Hi Vijay,

Yes, any object referenced by a shared object needs to be instrumented. If you wish to avoid instrumenting a particular class, you could mark it as transient, such that it is not replicated as part of the shared object graph. But then, of course, you would have to accommodate the fact that the field marked transient would be null on nodes to which the shared object had been replicated. Information on how to do this is provided in the following thread:

http://forums.terracotta.org/forums/posts/list/193.page

Regards,

Gordon
Sr. Systems Engineer
Terracotta, Inc.
kbhasin

consul

Joined: 12/04/2006 13:08:21
Messages: 340
Offline

You will also find this link useful:

http://www.terracotta.org/confluence/display/docs1/Troubleshooting+Guide#TroubleshootingGuide-Iamgettingcom.tc.exception.TCNonPortableObjectException.Whatnext%3F

Regards,
Kunal Bhasin.

Regards,

Kunal Bhasin,
Terracotta, Inc.

Be a part of the Terracotta community: Join now!
 
Forum Index -> Terracotta for Spring
Go to:   
Powered by JForum 2.1.7 © JForum Team