How could I add an instance of ORecordListener in version 2+?

23 views
Skip to first unread message

Hung Tran

unread,
Jan 5, 2016, 12:48:21 PM1/5/16
to OrientDB
Hi,

In the earlier version, the ORecordAbstract.addListener() is marked as public, so I could invoke it to add a record listener. However, it's now protected, I wonder how to do the same thing now?

Any help will be very appreciated!

My Best,
Hung Tran

Luca Garulli

unread,
Jan 6, 2016, 5:57:40 AM1/6/16
to OrientDB
Hi Hung,
You can call:

ORecordListenerManager.addListener(record, this)


Best Regards,

Luca Garulli
Founder & CEO


--

---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-databa...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages