On 2002.02.28 13:22:56 -0500 Scott M Stark wrote:
> I like it, but the disabled directory is pointless in this scheme
> as any directory that is not specified to the deployer is disabled.
> It seems like we need at least the following changes to support
> this:
> 
> 1. Externalize the MainDeployer configuration to allow the specification
> of directories via a descriptor
> 2. Update the MainDeployer to undeploy services when their
> containing directory is removed from the active directories list
> 3. Change the service controller to support updates of attributes
> without restarting the service

(3) IMHO is best handled by xmbean/modelmbean interceptors.  The xdoclet
task I just wrote will generate appropriate descriptors, however the xmbean
implementation is not complete enough to implement this at the moment.

I think possibly much of the functionality of ServiceController can be
moved to modelmbean interceptors.

david jencks

> 
> xxxxxxxxxxxxxxxxxxxxxxxx
> Scott Stark
> Chief Technology Officer
> JBoss Group, LLC
> xxxxxxxxxxxxxxxxxxxxxxxx
> ----- Original Message -----
> From: "marc fleury" <[EMAIL PROTECTED]>
> To: "marc fleury" <[EMAIL PROTECTED]>; "James Cook"
> <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Thursday, February 28, 2002 11:20 AM
> Subject: RE: [JBoss-dev] Fw: [JBoss-user] Multiple JBOSS 3.0 developers
> and
> clustering
> 
> 
> > real life thinking,
> >
> > My wife is on the phone with a potential partner and they are asking
> how
> can
> > they drop their application in JBoss (with services and all).
> >
> > It occurs to me that a directory with
> > myAppStuff/*.xml,*.jar
> >
> > could be dynamically added to the MainDeployer and dynamically removed.
> >
> > This means that to deploy the stuff you just add the directory and to
> remove
> > the stuff you just remove the directory entry from the MainDeployer.
> >
> > This is even simpler SOOO
> >
> > clustering would be
> >
> > deploy/default/<all the default stuff>
> > deploy/disabled/<what you were doing there, james>
> > deploy/clustering/<ONLY THE CLUSTERING STUFF, BUT ALL OF IT>
> > deploy/yourOwnApp/<All the app stuff for you and nothing else>
> >
> > right now removing a directory entry doesn't undeploy but that would be
> the
> > adaptation.
> >
> > specifying a configuration amounts to specifying the list of
> directories
> the
> > autodeployer will deploy.  Ex clustering says
> > <mbean deployer>
> > <attribute
> > name = "directories"
> >   value = "default,clustering,myApp"
> > state-on-modification = "KEEP-RUNNING"/>
> > </mbean>
> >
> > what do you guys think, instead of replicating the configurations we
> just
> > add directories
> >
> > marcf
> >
> 
> 
> 
> _______________________________________________
> 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