- CacheFilters - Class in org.apache.felix.eventadmin.impl.handler
-
This is an implementation of the Filters factory that uses a cache in
order to speed-up filter creation.
- CacheFilters(CacheMap, BundleContext) - Constructor for class org.apache.felix.eventadmin.impl.handler.CacheFilters
-
The constructor of this factory.
- CacheMap - Interface in org.apache.felix.eventadmin.impl.util
-
This is the interface of a simple cache map.
- CacheTopicHandlerFilters - Class in org.apache.felix.eventadmin.impl.handler
-
The factory for EventHandler filters based on a certain topic.
- CacheTopicHandlerFilters(CacheMap, boolean) - Constructor for class org.apache.felix.eventadmin.impl.handler.CacheTopicHandlerFilters
-
The constructor of the filter factory.
- CleanBlackList - Class in org.apache.felix.eventadmin.impl.handler
-
This class implements a BlackList that removes references to unregistered
services automatically.
- CleanBlackList() - Constructor for class org.apache.felix.eventadmin.impl.handler.CleanBlackList
-
- cleanup() - Method in class org.apache.felix.eventadmin.impl.tasks.SyncThread
-
- clear() - Method in interface org.apache.felix.eventadmin.impl.util.CacheMap
-
Remove all entries of the cache.
- clear() - Method in class org.apache.felix.eventadmin.impl.util.LeastRecentlyUsedCacheMap
-
Remove all entries from the cache.
- close() - Method in class org.apache.felix.eventadmin.impl.dispatch.DefaultThreadPool
-
Close the pool i.e, stop pooling threads.
- Configuration - Class in org.apache.felix.eventadmin.impl
-
The Configuration
class encapsules the
configuration for the event admin.
- Configuration(BundleContext) - Constructor for class org.apache.felix.eventadmin.impl.Configuration
-
- configure(int) - Method in class org.apache.felix.eventadmin.impl.dispatch.DefaultThreadPool
-
Configure a new pool size.
- contains(ServiceReference) - Method in interface org.apache.felix.eventadmin.impl.handler.BlackList
-
Lookup whether a given service is blacklisted.
- contains(ServiceReference) - Method in class org.apache.felix.eventadmin.impl.handler.CleanBlackList
-
Lookup whether a given service is blacklisted.
- createFilter(String) - Method in class org.apache.felix.eventadmin.impl.handler.CacheFilters
-
Create a filter for the given filter string or return the TRUE_FILTER in case
the string is null.
- createFilter(String) - Method in interface org.apache.felix.eventadmin.impl.handler.Filters
-
Create a filter for the given filter string or return the TRUE_FILTER in case
the string is null.
- createFilterForTopic(String) - Method in class org.apache.felix.eventadmin.impl.handler.CacheTopicHandlerFilters
-
Create a filter that will match all EventHandler services that match
the given topic.
- createFilterForTopic(String) - Method in interface org.apache.felix.eventadmin.impl.handler.TopicHandlerFilters
-
Create a filter that will match all EventHandler services that match
the given topic.
- createHandlerTasks(Event) - Method in class org.apache.felix.eventadmin.impl.handler.BlacklistingHandlerTasks
-
Create the handler tasks for the event.
- createHandlerTasks(Event) - Method in interface org.apache.felix.eventadmin.impl.handler.HandlerTasks
-
Create the handler tasks for the event.
- createPublishPermission(String) - Static method in class org.apache.felix.eventadmin.impl.security.PermissionsUtil
-
Creates a TopicPermission for the given topic and the type PUBLISH
Note that a
java.lang.Object is returned in case creating a new TopicPermission
fails.
- createSubscribePermission(String) - Static method in class org.apache.felix.eventadmin.impl.security.PermissionsUtil
-
Creates a TopicPermission for the given topic and the type SUBSCRIBE
Note that a
java.lang.Object is returned in case creating a new TopicPermission
fails.
- SecureEventAdminFactory - Class in org.apache.felix.eventadmin.impl.security
-
This class is a factory that secures a given EventAdmin service by
wrapping it with a new instance of an EventAdminSecurityDecorator on
any call to its getService() method.
- SecureEventAdminFactory(EventAdmin) - Constructor for class org.apache.felix.eventadmin.impl.security.SecureEventAdminFactory
-
The constructor of the factory.
- sendEvent(Event) - Method in class org.apache.felix.eventadmin.impl.EventAdminImpl
-
Send a synchronous event.
- sendEvent(Event) - Method in class org.apache.felix.eventadmin.impl.security.EventAdminSecurityDecorator
-
This method checks whether the given (i.e., calling) bundle has
appropriate permissions to send an event to the targeted topic.
- serviceChanged(ServiceEvent) - Method in class org.apache.felix.eventadmin.impl.adapter.LogEventAdapter
-
Once a LogReaderService register event is received this method
registers a LogListener with the received service that assembles
and posts any log event via the EventAdmin as specified in
113.6.6 OSGi R4 compendium.
- serviceChanged(ServiceEvent) - Method in class org.apache.felix.eventadmin.impl.adapter.ServiceEventAdapter
-
Once a Service event is received this method assembles and posts an event
via the EventAdmin as specified in 113.6.5 OSGi R4 compendium.
- ServiceEventAdapter - Class in org.apache.felix.eventadmin.impl.adapter
-
This class registers itself as a listener for service events and posts them via
the EventAdmin as specified in 113.6.5 OSGi R4 compendium.
- ServiceEventAdapter(BundleContext, EventAdmin) - Constructor for class org.apache.felix.eventadmin.impl.adapter.ServiceEventAdapter
-
The constructor of the adapter.
- setContext(BundleContext) - Static method in class org.apache.felix.eventadmin.impl.util.LogWrapper
-
Set the BundleContext of the bundle.
- setLogLevel(int) - Method in class org.apache.felix.eventadmin.impl.util.LogWrapper
-
Change the current log level.
- size() - Method in interface org.apache.felix.eventadmin.impl.util.CacheMap
-
Returns the number of key-value pairs in this cache.
- size() - Method in class org.apache.felix.eventadmin.impl.util.LeastRecentlyUsedCacheMap
-
Return the current size of the cache.
- start(BundleContext) - Method in class org.apache.felix.eventadmin.impl.Activator
-
Called upon starting of the bundle.
- stop(BundleContext) - Method in class org.apache.felix.eventadmin.impl.Activator
-
Called upon stopping the bundle.
- stop() - Method in class org.apache.felix.eventadmin.impl.EventAdminImpl
-
This method can be used to stop the delivery of events.
- SyncDeliverTasks - Class in org.apache.felix.eventadmin.impl.tasks
-
This class does the actual work of the synchronous event delivery.
- SyncDeliverTasks(DefaultThreadPool, long, String[]) - Constructor for class org.apache.felix.eventadmin.impl.tasks.SyncDeliverTasks
-
Construct a new sync deliver tasks.
- SyncThread - Class in org.apache.felix.eventadmin.impl.tasks
-
This thread class is used for sending the events
synchronously.
- SyncThread(Runnable) - Constructor for class org.apache.felix.eventadmin.impl.tasks.SyncThread
-
Constructor used by the thread pool.