Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/FrameworkEvent.java')
-rw-r--r--bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/FrameworkEvent.java16
1 files changed, 15 insertions, 1 deletions
diff --git a/bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/FrameworkEvent.java b/bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/FrameworkEvent.java
index 7b74a6831..b3072b2d0 100644
--- a/bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/FrameworkEvent.java
+++ b/bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/FrameworkEvent.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) OSGi Alliance (2004, 2013). All Rights Reserved.
+ * Copyright (c) OSGi Alliance (2004, 2016). All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -17,6 +17,7 @@
package org.osgi.framework;
import java.util.EventObject;
+
import org.osgi.framework.startlevel.FrameworkStartLevel;
import org.osgi.framework.wiring.FrameworkWiring;
@@ -169,6 +170,19 @@ public class FrameworkEvent extends EventObject {
public final static int WAIT_TIMEDOUT = 0x00000200;
/**
+ * The Framework has stopped and the framework requires a new class loader
+ * to restart.
+ * <p>
+ * This event is fired when the Framework has been stopped because of a stop
+ * operation on the system bundle and the framework requires a new class
+ * loader to be used to restart. For example, if a framework extension
+ * bundle has been refreshed. The source of this event is the System Bundle.
+ *
+ * @since 1.9
+ */
+ public final static int STOPPED_SYSTEM_REFRESHED = 0x00000400;
+
+ /**
* Creates a Framework event.
*
* @param type The event type.

Back to the top