jjzjj

getBusinessObject

全部标签

java - SessionContext.getBusinessObject() 的返回值与 bean 中使用的 'this' 关键字有何不同?

SessionContext.getBusinessObject()在文档中描述如下,Obtainanobjectthatcanbeusedtoinvokethecurrentbeanthroughthegivenbusinessinterface.Parameters:businessInterface-Oneofthelocalbusinessinterfacesorremotebusinessinterfacesforthissessionbean.Returns:Thebusinessobjectcorrespondingtothegivenbusinessinterface.