简体   繁体   English

不建议使用Sametime Java Toolkit loginByPassword

[英]Sametime Java Toolkit loginByPassword deprecated

First I would like to start off with the info that I have just started as an intern at a company that works with IBM software. 首先,我想从刚开始在一家使用IBM软件的公司实习的信息开始。 So please forgive me if I am making rookie mistakes. 因此,如果我犯了菜鸟错误,请原谅我。

I was doing the Java Toolkit tutorial today from de Sametime 8.5.2 SDK. 我今天从de Sametime 8.5.2 SDK进行Java工具包教程。 While following the tutorial I noticed that some of the methods used in the tutorial where marked by Eclipse as deprecated. 在学习本教程时,我注意到本教程中使用的某些方法已被Eclipse标记为不推荐使用。 I assume this is because the tutorial is not updated. 我认为这是因为本教程未更新。

Unfortunately, they don't seem to have a Javadoc description and I can't find any info on what I should use instead of the deprecated methods. 不幸的是,它们似乎没有Javadoc描述,而且我找不到应该使用什么而不是不推荐使用的方法的任何信息。 A concrete example is the "loginByPassword" method from the communityservice (com.lotus.sametime.community.CommunityService). 一个具体的示例是来自社区服务(com.lotus.sametime.community.CommunityService)的“ loginByPassword”方法。

I tried to find info about this subject, however I can not find any. 我试图找到有关此主题的信息,但是找不到任何信息。 This makes me think I might be doing something wrong. 这使我认为我可能做错了什么。

So I have three questions: 所以我有三个问题:

  1. Am I doing something wrong? 难道我做错了什么?
  2. If so, what am I doing wrong? 如果是这样,我在做什么错?
  3. If I am not doing anything wrong, can someone please point me to a place where I can find the documentation I require? 如果我没有做错任何事情,有人可以将我指向可以找到所需文档的地方吗?

I found my solution. 我找到了解决方案。 There is a seperate Javadoc folder that is included with the SDK. SDK包含一个单独的Javadoc文件夹。 The Javadoc contains info about most of the classes. Javadoc包含有关大多数类的信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM