You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Stephen McConnell <mc...@apache.org> on 2002/09/12 13:03:48 UTC

excalibur/meta service addition


Berin Loritsch wrote:

>BTW, where are we with making the Service an explicit type?
>I want Fortress to resolve all the Services *before* it
>resolves the Components.
>

Have just updated excalibur/meta to include a seperate service
meta-info object, associated builders, and DTD.

The builder follows the same pattern as the Type builder:
 
  ServiceBuilder builder = new ServiceBuilder();
  builder.enableLogging( logger );
  Service service = builder.build( classname, classloader );

The resulting service object contains a classname, version and
attributes.  The XML used to declare the service is as follows:

  <service>
     <version>1.2</version>
     <attributes/>
  </service>

Have also updated Merlin to to support loading and validation of
service descriptions based on Avalon: Service manifest declarations.

Cheers, Steve.

-- 

Stephen J. McConnell

OSM SARL
digital products for a global economy
mailto:mcconnell@osm.net
http://www.osm.net




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>