public class SimpleSampleBeanImpl implements SessionBean { ... public String [] test() { // Get the work-area reference from JNDI. ... // Retrieve the name of the work area. In this example, // the name is used to identify the class in which the // work area was begun. String invoker = userWorkArea.getName(); ... } }
作業域について詳しくは、API 文書の『com.ibm.websphere.workarea パッケージ』を参照してください。生成済み API 文書は、インフォメーション・センターの目次で、 「参照」 > 「Developer」 > 「API documentation」 > 「Application programming interfaces」の順にたどって入手できます。