James Black wrote:

> So, it appears that each menu item selection will lead to my protocol
> handler implementation being created new.

Yes, this the intended behavior. It *must* be done this way because your
protocol handler(s) can be instantiated in different frames and the
frame is passed to the protocol handler in its "initialize" call.
Obviously this can't work with a single instance service protocol
handler object.

If you need some data that all of your protocol handler objects should
share, there is nothing that prevents you from organizing this
internally in your code. You can share data per frame or globally, just
to your liking.

Best regards,
Mathias

-- 
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to