|Whether you call it init() or postRegister() I don't care.  At least for
|clustering and it's dependent services right now we need 2 stage
|initialization init() (or equivalent API call) and start().

wow, an actual example of a 2 stage initialization.  Rickard is right afair
the reason for removing it is registration does the same "you are installed"
callback.

marcf

|
|> -----Original Message-----
|> From: [EMAIL PROTECTED]
|> [mailto:[EMAIL PROTECTED]]On Behalf Of
|> Rickard Oberg
|> Sent: Monday, November 12, 2001 4:06 PM
|> To: Jboss-Development@Lists. Sourceforge. Net
|> Subject: Re: [JBoss-dev] Why taking init out of MBean interface?
|>
|>
|> Bill Burke wrote:
|>
|> > Why are we doing this?  Some services, clustering for example,
|> depend on
|> > init and start.  Can we not do this?
|>
|>
|> Note that taking init() out of Service is not a big deal, whereas taking
|> it out of ServiceSupport is. init() can be done as a side-effect of
|> postRegister anyway so no need to expose it through the MBean interface
|> (AFAICT).
|>
|> /Rickard
|>
|> --
|> Rickard �berg
|>
|>
|>
|> _______________________________________________
|> Jboss-development mailing list
|> [EMAIL PROTECTED]
|> https://lists.sourceforge.net/lists/listinfo/jboss-development
|>
|
|
|
|_______________________________________________
|Jboss-development mailing list
|[EMAIL PROTECTED]
|https://lists.sourceforge.net/lists/listinfo/jboss-development


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to