You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:52:24 UTC
[sling-org-apache-sling-launchpad-api] 15/26: SLING-4823 : Register
a service when the system is ready
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.launchpad.api-1.2.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-launchpad-api.git
commit 0df61eefb83bdcfaac34f7d12180d1b11286ae9f
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Fri Jun 19 06:35:29 2015 +0000
SLING-4823 : Register a service when the system is ready
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/launchpad/api@1686363 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 5 ----
.../apache/sling/launchpad/api/StartupService.java | 30 ++++++++++++++++++++++
.../apache/sling/launchpad/api/package-info.java | 24 +++++++++++++++++
3 files changed, 54 insertions(+), 5 deletions(-)
diff --git a/pom.xml b/pom.xml
index 7b5224e..67d1661 100644
--- a/pom.xml
+++ b/pom.xml
@@ -41,11 +41,6 @@
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
- <configuration>
- <instructions>
- <Export-Package>org.apache.sling.launchpad.api;version=1.1.0</Export-Package>
- </instructions>
- </configuration>
</plugin>
</plugins>
</build>
diff --git a/src/main/java/org/apache/sling/launchpad/api/StartupService.java b/src/main/java/org/apache/sling/launchpad/api/StartupService.java
new file mode 100644
index 0000000..076333f
--- /dev/null
+++ b/src/main/java/org/apache/sling/launchpad/api/StartupService.java
@@ -0,0 +1,30 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.sling.launchpad.api;
+
+
+/**
+ * The startup service is registered when the startup is finished.
+ *
+ * @since 1.2.0
+ */
+public interface StartupService {
+
+ StartupMode getStartupMode();
+}
diff --git a/src/main/java/org/apache/sling/launchpad/api/package-info.java b/src/main/java/org/apache/sling/launchpad/api/package-info.java
new file mode 100644
index 0000000..ef2b1f2
--- /dev/null
+++ b/src/main/java/org/apache/sling/launchpad/api/package-info.java
@@ -0,0 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+@Version("1.2.0")
+package org.apache.sling.launchpad.api;
+
+import aQute.bnd.annotation.Version;
+
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.