Interface ComponentActivator
-
- All Superinterfaces:
ExtendedServiceListenerContext<ExtendedServiceEvent>
public interface ComponentActivator extends ExtendedServiceListenerContext<ExtendedServiceEvent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
disableComponent(String name)
void
enableComponent(String name)
<T> boolean
enterCreate(org.osgi.framework.ServiceReference<T> reference)
org.osgi.framework.BundleContext
getBundleContext()
ScrConfiguration
getConfiguration()
BundleLogger
getLogger()
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>
voidregisterMissingDependency(DependencyManager<S,T> dependencyManager, org.osgi.framework.ServiceReference<T> serviceReference, int trackingCount)
void
schedule(Runnable runnable)
RegionConfigurationSupport
setRegionConfigurationSupport(org.osgi.framework.ServiceReference<org.osgi.service.cm.ConfigurationAdmin> reference)
void
unregisterComponentId(AbstractComponentManager<?> sAbstractComponentManager)
void
unsetRegionConfigurationSupport(RegionConfigurationSupport rcs)
void
updateChangeCount()
Inform about any change in the state of the components.-
Methods inherited from interface org.apache.felix.scr.impl.manager.ExtendedServiceListenerContext
addServiceListener, removeServiceListener
-
-
-
-
Method Detail
-
getLogger
BundleLogger getLogger()
-
getBundleContext
org.osgi.framework.BundleContext getBundleContext()
-
isActive
boolean isActive()
-
getConfiguration
ScrConfiguration getConfiguration()
-
schedule
void schedule(Runnable runnable)
-
registerComponentId
long registerComponentId(AbstractComponentManager<?> sAbstractComponentManager)
-
unregisterComponentId
void unregisterComponentId(AbstractComponentManager<?> sAbstractComponentManager)
-
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
void enableComponent(String name)
-
disableComponent
void disableComponent(String name)
-
setRegionConfigurationSupport
RegionConfigurationSupport setRegionConfigurationSupport(org.osgi.framework.ServiceReference<org.osgi.service.cm.ConfigurationAdmin> reference)
-
unsetRegionConfigurationSupport
void unsetRegionConfigurationSupport(RegionConfigurationSupport rcs)
-
updateChangeCount
void updateChangeCount()
Inform about any change in the state of the components.
-
-