Skip to content

Commit

Permalink
jakartaee#708 Add missing javadoc for supporting ServiceLoader mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
Verhás István committed Mar 24, 2024
1 parent bf2bfc1 commit ae7435a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion api/src/main/java/jakarta/mail/Provider.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,18 @@

/**
* 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
* for a new provider.
*
* @author Max Spivak
* @author Bill Shannon
* @see Session
*/
public class Provider {

Expand Down

0 comments on commit ae7435a

Please sign in to comment.