Advanced Customization > Windchill Adapter > Custom Windchill Adapter Webjects > Implementing Custom Windchill Adapter Webjects > Locating the Custom Webject Class
  
Locating the Custom Webject Class
Webject delegates are registered with the Windchill adapter by entries in wt.adapter.delegates.properties. The Windchill adapter invokes webject delegates based on the webject name and the class or type of the target object.
For example, the following line in wt.adapter.delegates.properties registers the CheckinObjectsWebjectDelegate with the Windchill adapter:
CHECKINOBJECTS.WCTYPE|
java.lang.Object=com.ptc.core.adapter.server.impl.CheckinObjectsWebjectDelegate
The class (or Windchill subtype) of the target object is taken from the TYPE parameter of the incoming webject. Hyphens included in the webject name by the caller are ignored, and the webject lookup is also case-insensitive.
This performs the following functions:
1. The adapter receives a webject request for CHECKINOBJECTS for a target object with the java.lang.Object class.
2. The webject delegate com.ptc.core.adapter.server.impl.CheckinObjectsWebjectDelegate is instantiated.
3. Its invoke() method is then executed.