Since the constant also does not appear in the Javadoc and with the advent of
OSGi 6 annotations it is more common to not use Felix SCR annotations I opened
a ticket for moving this class somewhere else in
https://issues.apache.org/jira/browse/SLING-6249
Hi devs,
why is the class ServletResolverConstants in the Apache Sling Servlet Resolver
not accessible in an exported package?
I’m currently implementing a SCR component that registers multiple Services
based on some configurations shared between them. One of this Services
implements
Hi Dirk,
that class only contains constants. If you reference those constants within
your own bundle they are usually inlined (i.e. there is no run-time dependency
to the providing package). Therefore it is totally fine to add that dependency
to your Maven module and to directly use those