diff --git a/api/src/main/java/jakarta/mail/Provider.java b/api/src/main/java/jakarta/mail/Provider.java index 316a343e..1e0b7bbb 100644 --- a/api/src/main/java/jakarta/mail/Provider.java +++ b/api/src/main/java/jakarta/mail/Provider.java @@ -18,7 +18,10 @@ /** * The Provider is a class that describes a protocol - * implementation. The values typically come from the + * implementation. The {@link Session} supports + * configuring providers using the Java SE + * {@link java.util.ServiceLoader ServiceLoader} mechanism. + * As an alternative the values could come from the * javamail.providers and javamail.default.providers * resource files. An application may also create and * register a Provider object to dynamically add support @@ -26,6 +29,7 @@ * * @author Max Spivak * @author Bill Shannon + * @see Session */ public class Provider {