Add the following line to the static block.
将下列代码添加到静态块中。
First, you need to filter methods that are not declarations of finalize . In the empty static block add.
首先,您需要筛选掉那些不是finalize声明的方法。
Since this class will be invoked repeatedly, move the code that initializes the WebSphere TX API into a static block
由于会反复调用该类,因此应将初始化 WebSphere TX API 的代码移动到一个静态块中
应用推荐