* Ben Rockwood <benr at cuddletech.com> [2007-09-18 11:11]: > I'm curious if its possible (speaking in terms of XML semantics) to > allow an element to defined for a service and then over-riden by a > later instance. > > An example would be to define a method_context within the service > element, then to create multiple instance, only one of which uses a > different method_context which would be defined within the instance > element to effectively "over-ride" the (for lack of a better term) > global definition. > > Based on my testing, as it stands now, anything that will differ > between instances must be defined within each instance locally and not > "shared" globally for the service.
Really? You can't get svccfg(1M) to import something like <service> <method> method definition 1 </method> <instance> </instance> <instance> <method> method definition 2 </method> </instance> </service> in a single manifest at present? What's the error message? > Being able to do this seems more intuitive to me, but maybe isn't good > style. I'm not sure. Just an idea. I agree. I know there's an issue with instances of the same service across multiple manifests (can't do it at present), but I had thought the single manifest case would work. - Stephen -- sch at sun.com http://blogs.sun.com/sch/