File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed
src/main/java/org/apache/sling/engine Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 2020
2121/**
2222 * The <code>SlingSettingsService</code> provides basic Sling settings.
23+ * @deprecated Use the {@link org.apache.sling.api.services.SlingSettingsService}
2324 */
24- public interface SlingSettingsService {
25+ @ Deprecated
26+ public interface SlingSettingsService
27+ extends org .apache .sling .api .services .SlingSettingsService {
2528
2629 /**
2730 * The identifier of the running Sling instance.
Original file line number Diff line number Diff line change @@ -48,9 +48,10 @@ public void start(BundleContext context) throws Exception {
4848 props .put (Constants .SERVICE_DESCRIPTION ,
4949 "Apache Sling Settings Service" );
5050 props .put (Constants .SERVICE_VENDOR , "The Apache Software Foundation" );
51- serviceRegistration = context .registerService (SlingSettingsService .class .getName (),
52- service ,
53- props );
51+ serviceRegistration = context .registerService (new String [] {
52+ org .apache .sling .api .services .SlingSettingsService .class .getName (),
53+ SlingSettingsService .class .getName ()},
54+ service , props );
5455 try {
5556 RequestHistoryConsolePlugin .initPlugin (context );
5657 } catch (Throwable ignore ) {
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ public SlingSettingsServiceImpl(final BundleContext context) {
9595 }
9696
9797 /**
98- * @see org.apache.sling.engine .SlingSettingsService#getSlingId()
98+ * @see org.apache.sling.api.services .SlingSettingsService#getSlingId()
9999 */
100100 public String getSlingId () {
101101 return this .slingId ;
You can’t perform that action at this time.
0 commit comments