Re: cosmetic change to management console

"Goldsack, Patrick" <[email protected]> Tue, 19 Dec 2006 11:50:01 -0000
Newsgroups gmane.comp.java.smartfrog.user
Message-ID <[email protected]>
Occasionally you end up with remote references even if it is all local
and so copies of the Component Descriptions are produced - this case is
most irritating but unavoidable. Unfortunately RMI doesn't seem to
provide a way of unwrapping such a reference and obtaining the local
object so contained. 

Patrick

-----Original Message-----
From: smartfrog-support-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:smartfrog-support-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of
Guijarro, Julio
Sent: 19 December 2006 10:13
To: Andreas Unterkircher; smartfrog-support
Subject: Re: [Smartfrog-support] cosmetic change to management console

Hi,

When you see an entry named "*copy*" in the management console is
because you are referring to an object that has been obtained by the
console as a copy and not a reference. This normally happens when you
are browsing a component description in a remote component. The console
uses that component (its remote interfaces) to get the component
description and therefore, because it is remote, java will serialize the
object and send a copy. When this happens you are not able to
add/modify/remove attributes in the original object because the console
is manipulating a the copy. Also, the console will show you an error
message if you try to manipulate copies. 

If you want to modify the component description in a remote component
you have two options:

- disable "show CD in tree" and then manipulate the CD using the
language.

- start a management console in the remote jvm. This new console ,
because it is local, will have the right name for the object and you
will be able to make modifications using the tree browser.


Julio


> -----Original Message-----
> From: smartfrog-support-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:smartfrog-
> support-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Andreas
Unterkircher
> Sent: 19 December 2006 08:56
> To: smartfrog-support
> Subject: [Smartfrog-support] cosmetic change to management console
> 
> Hello,
> 
> looking at the components in sfManagementConsole I always see entries
like
> 
> D *copy*
> 
> Clicking on them gives no Attribute information. Could these entries
be
> deleted from the management console display ? This is just a cosmetic 
> issue but as we using the management console all the time it would be 
> nice to get rid of them.
> 
> Best regards,
> Andreas
> 
>
------------------------------------------------------------------------
-
> Take Surveys. Earn Cash. Influence the Future of IT Join 
> SourceForge.net's Techsay panel and you'll get the chance to
share
> your
> opinions on IT & business topics through brief surveys - and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
> _______________________________________________
> Smartfrog-support mailing list
> Smartfrog-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/smartfrog-support

------------------------------------------------------------------------
-
Take Surveys. Earn Cash. Influence the Future of IT Join
SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
Smartfrog-support mailing list
Smartfrog-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/smartfrog-support

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV