How can an application dynamically register protocol providers?

John Zukowski

JavaMail 1.4 adds a new constructor public Provider(Type type, String protocol, String classname, String vendor, String version) for just such a need. You also need to use the new public void addProvider(Provider provider) method of Session for registration.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact