Hey,

MBeans never "talk" to other MBean per se but they rather save reference to
MBeanServer through on of the MBeanServer callbacks. I think it is
org.jboss.util.JBossServiceMBean.getObjectName() but doublecheck it. Then
having a reference to MBeanServer MBean invokes operations on another MBean
through MBeanServer.invoke() API.

HTH,
Vladimir 

On 2001.05.02 19:58 Kadir Wijaya wrote:
> Hi all, 
> in http://www.jboss.org.documentation/HTML/ch10s40.html mentioned that:
> JBoss manages dependencies between MBeans via the
> org.jboss.util.ServiceControl custom MBean.
> I did search deep in this doc but couldn't find any clue how two MBeans
> communicate between them!
> For example: Mbean-A started first then Mbean-B follows. My questions
> are:
> 1.  How does Mbean-B know that services provided by Mbean-A are available
> for Mbean-B to utilise?
> 2.  Is there any mechanism that allows Mbean-B to obtain the Object
> reference provided by Mbean-A?
> 
> thanks,
> kadir
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>         
>    
> 2. 
> 
> 
> 
> NOTICE: The information contained in this electronic mail message and any
> attachments is confidential to Pavilion Technologies, Inc. or one of its
> subsidiaries and may contain proprietary information or be legally
> privileged. This message and any attachments are intended only for the
> personal and confidential use of the designated recipient(s). If you are
> not
> the intended recipient or an agent responsible for delivering it to the
> intended recipient, you are hereby notified that you have recieved this
> message in error, and that any review, dissemination, distribution or
> copying of this message and any attachments is unauthorized and strictly
> prohibited. If you have received this message in error, please notify me
> immediately by telephone and electronic mail, and delete this message,
> any
> attachments, and all copies thereof. Thank you very much  
> 
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to