If I set the host and user properties before calling getDefaultInstance() are those properties used for all successive gets to Store or Transport objects?

John Zukowski

The properties passed into the getDefaultInstance() method are only referenced if the method creates the session object, essentially only the first time. Future calls to the method will ignore the argument. These properties are then used by anything created off the session.

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

 

 

 

 

 


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

 

 

About | Sitemap | Contact