-
Notifications
You must be signed in to change notification settings - Fork 104
Open
Description
Hi,
I want to add some other data along with SharedObjectScope
. For that I want to extend it in my custom class in red5 application and create object of custom classs say MySOScope
when SharedObjectService#createSharedObject()
is called.
As of now, instance of SharedObjectScope
is directly created here, but can I change code in way:
SharedObjectScope
will not be created directly.- Its mapping will be in red5-default.xml. By reading, beans id & class, instance for
SharedObjectScope
will be created. - Then further if I want to implement any custom class in my application, I can extend
SharedObjectScope
inMySOScope
, and override that beans id and class with reference toMySOScope
as value of class attribute. - Then it should be able to create instance of
MySOScope
instead ofSharedObjectScope
.
Are there any cons in these modifications? Please help me to see wide picture if I am implementing these modifications.
Metadata
Metadata
Assignees
Labels
No labels