-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Draft for [connect] allow registration of FrameworkUtilHelper directly
See osgi/osgi#463
- Loading branch information
Showing
4 changed files
with
62 additions
and
5 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
bundles/org.eclipse.osgi/META-INF/services/org.osgi.framework.connect.FrameworkUtilHelper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
org.eclipse.osgi.launch.EquinoxFactory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/connect/ConnectFramework.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package org.osgi.framework.connect; | ||
|
||
import org.osgi.framework.launch.Framework; | ||
|
||
/** | ||
* A framework created by a {@link ConnectFrameworkFactory} ... this is non | ||
* standard extension | ||
*/ | ||
public interface ConnectFramework extends Framework { | ||
|
||
/** | ||
* adds a {@link FrameworkUtilHelper} via this {@link ConnectFramework} | ||
* | ||
* @param helper | ||
*/ | ||
void addFrameworkUtilHelper(FrameworkUtilHelper helper); | ||
|
||
/** | ||
* removes a {@link FrameworkUtilHelper} via this {@link ConnectFramework} | ||
* | ||
* @param helper | ||
*/ | ||
void removeFrameworkUtilHelper(FrameworkUtilHelper helper); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters