Quoth Christine Tran on Thu, Mar 20, 2008 at 12:02:39PM -0400:
> Jordan Brown (Sun) wrote:
> > How is
> >     <create_default_instance enabled="..."/>
> > different from
> >     <instance name="default" enabled="..."/>
> > ?
...
> Slightly: create_default_instance will create the general/package 
> property if $PKGINST is set.

Hmm, good observation.  That seems like a bug, though -- I can't think
of a good reason why those forms shouldn't be equivalent.  (Perhaps in
the multi-instance case, but svccfg should be able to figure that out.)

> > I understand that you can do more with <instance>; my question is how 
> > the trivial case of <instance> is different.
> > 
> > Also:
> > 
> > What does
> >     <single_instance/>
> > really do?

It's supposed to tell the framework that only one instance of the
service should be running at a time.  Presumably the developer knows
that all instances of the service will contend on some resource.  (E.g.,
the interface binding is unconfigurable.)  Unfortunately, it hasn't been
implemented yet.


David

Reply via email to