|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.ContributorFactoryOSGi
public final class ContributorFactoryOSGi
The contributor factory creates new registry contributors for use in OSGi-based registries.
This class can not be extended or instantiated by clients.
Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Constructor Summary | |
---|---|
ContributorFactoryOSGi()
|
Method Summary | |
---|---|
static IContributor |
createContributor(Bundle contributor)
Creates registry contributor object based on a Bundle. |
static Bundle |
resolve(IContributor contributor)
Returns the OSGi bundle used to define this contributor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContributorFactoryOSGi()
Method Detail |
---|
public static IContributor createContributor(Bundle contributor)
null
.
contributor
- bundle associated with the contribution
public static Bundle resolve(IContributor contributor)
The method may return null if the contributor is not based on a bundle, if the bundle can't be found, or if the bundle is presently unresolved or uninstalled.
contributor
- bundle-based registry contributor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |