|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use BundleContextImpl | |
|---|---|
| org.eclipse.osgi.framework.internal.core | |
| org.eclipse.osgi.internal.serviceregistry | |
| Uses of BundleContextImpl in org.eclipse.osgi.framework.internal.core |
|---|
| Fields in org.eclipse.osgi.framework.internal.core declared as BundleContextImpl | |
|---|---|
protected BundleContextImpl |
BundleHost.context
The BundleContext that represents this Bundle and all of its fragments |
| Methods in org.eclipse.osgi.framework.internal.core that return BundleContextImpl | |
|---|---|
protected BundleContextImpl |
BundleHost.createContext()
Create a BundleContext for this bundle. |
protected BundleContextImpl |
BundleHost.getContext()
Return the current context for this bundle. |
protected BundleContextImpl |
BundleFragment.getContext()
Return the current context for this bundle. |
protected abstract BundleContextImpl |
AbstractBundle.getContext()
Return the current context for this bundle. |
BundleContextImpl |
Framework.getSystemBundleContext()
|
| Methods in org.eclipse.osgi.framework.internal.core with parameters of type BundleContextImpl | |
|---|---|
protected AbstractBundle |
Framework.installWorkerPrivileged(String location,
URLConnection source,
AccessControlContext callerContext,
BundleContextImpl origin)
Worker method to install a bundle. |
| Constructors in org.eclipse.osgi.framework.internal.core with parameters of type BundleContextImpl | |
|---|---|
CoreResolverHookFactory(BundleContextImpl context,
ServiceRegistry registry)
|
|
| Uses of BundleContextImpl in org.eclipse.osgi.internal.serviceregistry |
|---|
| Methods in org.eclipse.osgi.internal.serviceregistry with parameters of type BundleContextImpl | |
|---|---|
void |
ServiceRegistry.addServiceListener(BundleContextImpl context,
ServiceListener listener,
String filter)
Add a new Service Listener for a bundle. |
ServiceReferenceImpl<?>[] |
ServiceRegistry.getRegisteredServices(BundleContextImpl context)
Returns this bundle's ServiceReference list for all
services it has registered or null if this bundle has no
registered services. |
Object |
ServiceRegistry.getService(BundleContextImpl context,
ServiceReferenceImpl<?> reference)
Returns the specified service object for a service. |
ServiceReferenceImpl<?> |
ServiceRegistry.getServiceReference(BundleContextImpl context,
String clazz)
Returns a ServiceReference object for a service that
implements and was registered under the specified class. |
ServiceReferenceImpl<?>[] |
ServiceRegistry.getServiceReferences(BundleContextImpl context,
String clazz,
String filterstring,
boolean allservices)
This method performs the same function as calling ServiceRegistry.getServiceReferences(BundleContextImpl, String, String, boolean, boolean) with a
true callHooks value. |
ServiceReferenceImpl<?>[] |
ServiceRegistry.getServiceReferences(BundleContextImpl context,
String clazz,
String filterstring,
boolean allservices,
boolean callHooks)
Returns an array of ServiceReferenceImpl objects. |
ServiceReferenceImpl<?>[] |
ServiceRegistry.getServicesInUse(BundleContextImpl context)
Returns this bundle's ServiceReference list for all
services it is using or returns null if this bundle is not
using any services. |
ServiceRegistrationImpl<?> |
ServiceRegistry.registerService(BundleContextImpl context,
String[] clazzes,
Object service,
Dictionary<String,?> properties)
Registers the specified service object with the specified properties under the specified class names into the Framework. |
void |
ServiceRegistry.releaseServicesInUse(BundleContextImpl context)
Called when the BundleContext is closing to unget all services currently used by the bundle. |
void |
ServiceRegistry.removeAllServiceListeners(BundleContextImpl context)
Remove all Service Listener for a bundle. |
void |
ServiceRegistry.removeServiceListener(BundleContextImpl context,
ServiceListener listener)
Remove a Service Listener for a bundle. |
boolean |
ServiceRegistry.ungetService(BundleContextImpl context,
ServiceReferenceImpl<?> reference)
Releases the service object referenced by the specified ServiceReference object. |
void |
ServiceRegistry.unregisterServices(BundleContextImpl context)
Called when the BundleContext is closing to unregister all services currently registered by the bundle. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||