The addResourceDomainLookup Method
You use the addResourceDomainLookup method to define a dynamic resource domain. This method supplies a reference to an object that the Adapter Service Editor will use to make callbacks when the adapter service node is being configured. Resource domain lookups can only be performed against WmManagedConnection objects, so the "this" reference is generally used as the object reference argument. For example:
access.addResourceDomainLookup("aSampleResourceDomainName", this);
For more information, see
Resource Domain Lookups.