Skip to main content
14-Alexandrite
August 5, 2020
Question

Deprecated class AbstractWebjectDelegate - question

  • August 5, 2020
  • 1 reply
  • 1076 views

Hello.

 

I found that class

com.ptc.core.adapter.server.impl.AbstractWebjectDelegate

has been marked as deprecated (at least since release 11.0 but it could be marked as deprecated even earlier). However, I don't see any information, what class should be used instead of AbstractWebjectDelegate.

 

Is there anyone who had to use AbstractWebjectDelegate and found a replacement for it? This class is mostly used, when one wants to create his own webject delegate, so such class extends AbstractWebjectDelegate.

1 reply

14-Alexandrite
January 11, 2021

Solution is to replace AbstractWebjectDelegate with either AbstractWebject, ObjectWebject or ActionWebject, depending on the needs. See this article:

https://www.ptc.com/en/support/article/CS57998

 

Extend either com.ptc.core.adapter.server.impl.ObjectWebject or com.ptc.core.adapter.server.impl.ActionWebject depending on the type of custom Webject (ACT or OBJ)