Importing virtual member manager packages

Before you can integrate virtual member manager functions into your application, you must import the virtual member packages.

About this task

The following code sample shows the packages that you need to import and how to define the class.
import com.ibm.websphere.wim.SchemaConstants;
import com.ibm.websphere.wim.Service;
import com.ibm.websphere.wim.client.LocalServiceProvider;
import com.ibm.websphere.wim.exception.WIMException;
import com.ibm.websphere.wim.util.SDOHelper;
import commonj.sdo.DataObject;

public class myTest implements SchemaConstants {
}
Note: Some of the sample code use the Person entity type, which is not configured out-of-the-box. To use this sample code as it is, you need to add Person as supported entity type in the configuration file. To use the samples without adding the Person entity type modify the samples by changing the Person entity type to the PersonAccount entity type that is supported out-of-the-box.


Terms of use | Feedback

http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=/com.ibm.websphere.wim.doc/importingpackages.html