hi,
I was thinking to provide 2 generic control point, titled "Remote UPnP Network" and "Local UPnP Network".

The former is activated by the remote MBean using the domain TabUI.
The console operator can use it to import remote UPnP devices per connection.

The second one is used to export local UPnP devices to the selected server connection. So it is not activated by a remote MBean but the current server connection is needed to inject a dummy MBean in the remote gateway. The remote gateway will register the dummy MBean as a UPnPDevice service, and any action invocation on it will generate a notify message back to the local UPnPDevice. The communication pattern of get\set and notify is reversed in this case.

I foresee to add a third panel to place among the Common Tabs (bottom pane) to collect all the imported and exported devices grouped by server connection. It should be also a way to save references to objects that have to be made persistent among connection changes.

Let me know it it make sense to you, any other suggestion is welcome.

I attached a snapshot of the console with the two plug-ins as i see with the patch I sent you. In the picture the Felix-TV has been exported and the jmxbridge has registered the device in the managed platform.

francesco





[EMAIL PROTECTED] wrote:
Francesco, I need to understand something.
The generic control point should be displayed in the upper right
panel.
The standard behavior is that all plugin are displayed in these panels.
But, these panel are for one gateway.
Do you control point refers to many gateways ?
In this case it should rather appear in the left pane...

Regards
/stephane

On Sun, Nov 19, 2006 at 12:05:37PM -0800, Francesco Furfari (JIRA) wrote:
     [ http://issues.apache.org/jira/browse/FELIX-159?page=all ]

Francesco Furfari updated FELIX-159:
------------------------------------

    Attachment: CommonPlugin+Placement.diff

Hi Stephan,
I attached this patch that adds the method getPlacement() to the CommonPlugin 
interface. According to the value returned by this method the plugin can be 
displayed in the NodePanel or the CommonPanel. I adjusted all the classes 
affected by this change.

I need this feature because, in the JMX -UPnPbridge i'm developing, the size of 
the CommonPanel is not appropriate to display a  Generic Control Point.



Client improvement of the JMX console
-------------------------------------

                Key: FELIX-159
                URL: http://issues.apache.org/jira/browse/FELIX-159
            Project: Felix
         Issue Type: Improvement
         Components: MOSGi
   Affects Versions: 0.8.0
           Reporter: Denis Beras
        Attachments: CommonPlugin+Placement.diff



--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to