From 7f0ad1d0ece87e0562d886ce1dc6b7c5240477fb Mon Sep 17 00:00:00 2001
From: Jan Materne
since ant 1.7.0
- The nested server
element specifies a service.
- Services are described by
+ The nested service
element specifies a service.
+ Services are described by
http://java.sun.com/j2se/1.5.0/docs/guide/jar/jar.html#Service%20Provider.
The approach is to have providers JARs include files named by the service
provided, for example,
META-INF/services/javax.script.ScriptEngineFactory
which can include implementation class names, one per line (usually just one per JAR).
-
+
The name of the
service is set by the "type" attribute. The classname implementing
the service is the the "provider" attribute, or it one wants to
@@ -405,4 +405,4 @@ Sealed: false
</jar>