public final class EclipseContextFactory extends Object
IEclipseContext
Constructor and Description |
---|
EclipseContextFactory() |
Modifier and Type | Method and Description |
---|---|
static IEclipseContext |
create()
Creates and returns a new empty context.
|
static IEclipseContext |
create(String name)
Creates and returns a new empty context.
|
static IEclipseContext |
getServiceContext(BundleContext bundleContext)
Returns a context that can be used to lookup OSGi services.
|
public static IEclipseContext create()
public static IEclipseContext create(String name)
public static IEclipseContext getServiceContext(BundleContext bundleContext)
bundleContext
- The bundle context to use for service lookup
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.