public interface ExtComponentContext extends ComponentContext
ExtComponentContext
is a custom extension of the
standard ComponentContext allowing to update the service registration
properties of a component registered as a service.Modifier and Type | Method and Description |
---|---|
void |
setServiceProperties(java.util.Dictionary<java.lang.String,?> properties)
Sets the service registration properties of the component
registered as a service.
|
disableComponent, enableComponent, getBundleContext, getComponentInstance, getProperties, getServiceReference, getUsingBundle, locateService, locateService, locateServices
void setServiceProperties(java.util.Dictionary<java.lang.String,?> properties)
The component.id
and component.name
property are set by the Service Component Runtime and cannot be
removed or replaced.
properties
- properties to update the default component
properties with. If this is null
or empty the
default set of properties as defined in Section 112.6,
Component Properties, are used as the service registration
properties.java.lang.IllegalStateException
- if this method is called for a
Component Factory component"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"