Interface ComponentActivator
- All Superinterfaces:
ExtendedServiceListenerContext<ExtendedServiceEvent>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
disableComponent
(String name) void
enableComponent
(String name) <T> boolean
enterCreate
(org.osgi.framework.ServiceReference<T> reference) org.osgi.framework.BundleContext
boolean
isActive()
<T> void
leaveCreate
(org.osgi.framework.ServiceReference<T> reference) <T> void
missingServicePresent
(org.osgi.framework.ServiceReference<T> serviceReference) long
registerComponentId
(AbstractComponentManager<?> sAbstractComponentManager) <S,
T> void registerMissingDependency
(DependencyManager<S, T> dependencyManager, org.osgi.framework.ServiceReference<T> serviceReference, int trackingCount) void
setRegionConfigurationSupport
(org.osgi.framework.ServiceReference<org.osgi.service.cm.ConfigurationAdmin> reference) void
unregisterComponentId
(AbstractComponentManager<?> sAbstractComponentManager) void
void
Inform about any change in the state of the components.Methods inherited from interface org.apache.felix.scr.impl.manager.ExtendedServiceListenerContext
addServiceListener, removeServiceListener
-
Method Details
-
getLogger
BundleLogger getLogger() -
getBundleContext
org.osgi.framework.BundleContext getBundleContext() -
isActive
boolean isActive() -
getConfiguration
ScrConfiguration getConfiguration() -
schedule
-
registerComponentId
-
unregisterComponentId
-
enterCreate
<T> boolean enterCreate(org.osgi.framework.ServiceReference<T> reference) -
leaveCreate
<T> void leaveCreate(org.osgi.framework.ServiceReference<T> reference) -
registerMissingDependency
<S,T> void registerMissingDependency(DependencyManager<S, T> dependencyManager, org.osgi.framework.ServiceReference<T> serviceReference, int trackingCount) -
missingServicePresent
<T> void missingServicePresent(org.osgi.framework.ServiceReference<T> serviceReference) -
enableComponent
-
disableComponent
-
setRegionConfigurationSupport
RegionConfigurationSupport setRegionConfigurationSupport(org.osgi.framework.ServiceReference<org.osgi.service.cm.ConfigurationAdmin> reference) -
unsetRegionConfigurationSupport
-
updateChangeCount
void updateChangeCount()Inform about any change in the state of the components.
-