[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[leshan-dev] [Bug 483672] New: ObjectSpecServlet doesn't use the model provider of the lwm2m server
|
https://bugs.eclipse.org/bugs/show_bug.cgi?id=483672
Product/Component: Leshan / General
Bug ID: 483672
Summary: ObjectSpecServlet doesn't use the model provider of
the lwm2m server
Classification: IoT
Product: Leshan
Version: unspecified
Hardware: PC
OS: Windows NT
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: General
Assignee: leshan-inbox@xxxxxxxxxxx
Reporter: v.valchev@xxxxxxxxxx
Created attachment 258459
--> https://bugs.eclipse.org/bugs/attachment.cgi?id=258459&action=edit
patch that fixes the problem
The servlet above is using the default model provider, not the one used by
LWM2M server.
In this specific case, the model the default provider will serve the same
models, but I'm trying to reuse the servlet and pass a LWM2M server, configured
with a custom model provider.
If the servlet is not designed to be reused, consider that currently it creates
a new StandardModelProvider. That probably loads the XML/JSON files for a
second time, and that means higher startup time and memory usage.
I'm providing a patch the configures the servlet with the model provider
obtained from the lwm2m server.
--
You are receiving this mail because:
You are watching the assignee of the bug.