Hi Geeks
To keep Davids changes and to make Clustering working I remember a
suggestion long ago to add a method-call to the arguments of a MBean.
I would suggest the following:
- a <mbean> can contain a <method> attribute
- <method> attribute supports the call of a non-argument method and
the time can be specified (after creation, before start(), after start())
- ServiceDeployer call the method at the appropriate time
This would look like this:
<mbean code="org.jboss.test" name="JBOSS-SYSTEM:name=test>
<attribute name="Test">gugus</attribute>
<method time="AFTER_START">connect</method>
</mbean>
As long as we reduce the method to non-args methods we should not
have much to deal with.
Andy
----- Original Message -----
From: "Hiram Chirino" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, November 12, 2001 5:37 PM
Subject: Re: [JBoss-dev] RE: Deployment exception on Clustering
> >It looks to me as if
> >"Because of quirkiness of JavaGroups, services cannot ask for
> > > state-synchronization once the Group connection has been initiated."
> >means exactly that the ClusterPartition HAS to know EXACTLY which
services
> >are using it. If you do this, the mbean-ref-list will give you what you
> >want. Otherwise, can you explain how these two statements don't
contradict
> >each other?
> >
> >Won't having this complete list let you hot deploy a ClusterPartition?
How
> >would this be different than server start-up?
> >I think explicitly stating the dependencies is a good idea, even if they
> >are caused by a limitation of JavaGroups.
> >
> >david
> >
>
> This seem like a good idea. What would the XML syntax be for specifying a
> mbean reference list?
>
> Regards,
> Hiram
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development