Skip to main content
Aug 5, 2020 11:48 AM UTC
Question

Deprecated class AbstractWebjectDelegate - question

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

Jan 11, 2021 1:10 PM UTC

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)