I think I am starting to see more clearly,

the mbean-refs in the ServiceController is good, that was added by David J,
the ServiceDeployer class dependency "nazi" I am not sure I like :)

I think I am there, will fix when I am done cooking/eating putting the
little one to bed.

marcf

|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of David
|Jencks
|Sent: Thursday, December 06, 2001 6:28 PM
|To: marc fleury
|Cc: [EMAIL PROTECTED]
|Subject: Re: [JBoss-dev] Depends tag in xml
|
|
|I seem to be getting out of order message delivery today;-)
|
|I wish I knew what problem you were trying to solve, marc.
|
|Somehow I doubt you'll like it marc... however we could reduce the entire
|dependency mechanism to mbean-mbean dependencies by:
|
|
|Make every package be represented by a DeploymentMBean, as the
|RARDeployment is today. (Andreas's management stuff I think needs to
|represent ejb modules, applications, etc as mbeans, similarly).
|
|In particular, a service.xml file is represented by an mbean: as such, it
|can have mbean-refs to (mbeans representing) other packages (replacing the
|classpath element dependency mechanism implemented in ServiceDeployer) and
|to individual mbeans (bringing back the depends tag functionality)
|
|So, a service.xml file might look like this:
|
|<service security-domain="scottskingdom" virtual-host="???"
|name="MY-APP:name=mbeans>
|
|  <!--package dependency, like classpath-->
|  <mbean-ref>JBOSS-SYSTEM:service=jbosscx</mbean-ref>
|  <!--mbean dependency, like depends tag-->
|  <mbean-ref>JCA:service=firebirdsqlDS</mbean-ref>
|
|  <mbean class=....
|
|
|</service>
|
|This could be prettied up with better element names, auto-generated names
|for package deployment mbeans, etc.
|
|david jencks
|
|On 2001.12.06 16:53:47 -0500 marc fleury wrote:
|> David M and David J
|>
|> still working with the Spaghetti code in ServiceDeployer, I remember in
|> september we had a "depends" discussion in *MBEAN* dependency, and DavidM
|> added that to the codebase, I also see a entry in the log from DavidM.
|>
|> now,
|>
|> I can't find anything about the MBean service dependency in the code
|> anymore but this opaque structure of "classweneed and classesweprovide"
|> and I am veryconfused all of the sudden.
|>
|> question,
|>
|> david m, did you code mbean dependency? was it removed?
|>
|> I am about to blow torch these classes in place andjust want some
|> background information before I apply the torch
|> ----
|> View: http://jboss.org/forums/thread.jsp?forum=66&thread=5015
|>
|> _______________________________________________
|> 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