A B C D E F G H I L M O P R S T U W 

A

AbstractAdapter - Class in org.apache.felix.eventadmin.impl.adapter
Abstract base class for all adapters.
AbstractAdapter(EventAdmin) - Constructor for class org.apache.felix.eventadmin.impl.adapter.AbstractAdapter
The constructor of the adapter.
Activator - Class in org.apache.felix.eventadmin.impl
The activator of the EventAdmin bundle.
Activator() - Constructor for class org.apache.felix.eventadmin.impl.Activator
 
add(ServiceReference) - Method in interface org.apache.felix.eventadmin.impl.handler.BlackList
Add a service to this blacklist.
add(ServiceReference) - Method in class org.apache.felix.eventadmin.impl.handler.CleanBlackList
Add a service to this blacklist.
add(Object, Object) - Method in interface org.apache.felix.eventadmin.impl.util.CacheMap
Add a value for the key to this cache.
add(Object, Object) - Method in class org.apache.felix.eventadmin.impl.util.LeastRecentlyUsedCacheMap
Add the key-value pair to the cache.
AsyncDeliverTasks - Class in org.apache.felix.eventadmin.impl.tasks
This class does the actual work of the asynchronous event dispatch.
AsyncDeliverTasks(DefaultThreadPool, DeliverTask) - Constructor for class org.apache.felix.eventadmin.impl.tasks.AsyncDeliverTasks
The constructor of the class that will use the asynchronous.

B

BlackList - Interface in org.apache.felix.eventadmin.impl.handler
This interface represents a simple set that allows to add service references and lookup whether a given reference is in the list.
blackList(ServiceReference) - Method in class org.apache.felix.eventadmin.impl.handler.BlacklistingHandlerTasks
Blacklist the given service reference.
blackListHandler() - Method in interface org.apache.felix.eventadmin.impl.tasks.HandlerTask
Blacklist the handler.
blackListHandler() - Method in class org.apache.felix.eventadmin.impl.tasks.HandlerTaskImpl
 
BlacklistingHandlerTasks - Class in org.apache.felix.eventadmin.impl.handler
This class is an implementation of the HandlerTasks interface that does provide blacklisting of event handlers.
BlacklistingHandlerTasks(BundleContext, BlackList, TopicHandlerFilters, Filters) - Constructor for class org.apache.felix.eventadmin.impl.handler.BlacklistingHandlerTasks
The constructor of the factory.
bundleChanged(BundleEvent) - Method in class org.apache.felix.eventadmin.impl.adapter.BundleEventAdapter
Once a bundle event is received this method assembles and posts an event via the EventAdmin as specified in 113.6.4 OSGi R4 compendium.
BundleEventAdapter - Class in org.apache.felix.eventadmin.impl.adapter
This class registers itself as a listener for bundle events and posts them via the EventAdmin as specified in 113.6.4 OSGi R4 compendium.
BundleEventAdapter(BundleContext, EventAdmin) - Constructor for class org.apache.felix.eventadmin.impl.adapter.BundleEventAdapter
The constructor of the adapter.

C

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.

D

DefaultThreadPool - Class in org.apache.felix.eventadmin.impl.dispatch
A thread pool that allows to execute tasks using pooled threads in order to ease the thread creation overhead.
DefaultThreadPool(int, boolean) - Constructor for class org.apache.felix.eventadmin.impl.dispatch.DefaultThreadPool
Create a new pool.
DeliverTask - Interface in org.apache.felix.eventadmin.impl.tasks
Dispatch given event dispatch tasks.
destroy(BundleContext) - Method in class org.apache.felix.eventadmin.impl.adapter.AbstractAdapter
 
destroy(BundleContext) - Method in class org.apache.felix.eventadmin.impl.adapter.BundleEventAdapter
 
destroy(BundleContext) - Method in class org.apache.felix.eventadmin.impl.adapter.FrameworkEventAdapter
 
destroy(BundleContext) - Method in class org.apache.felix.eventadmin.impl.adapter.LogEventAdapter
 
destroy(BundleContext) - Method in class org.apache.felix.eventadmin.impl.adapter.ServiceEventAdapter
 
destroy() - Method in class org.apache.felix.eventadmin.impl.Configuration
Called upon stopping the bundle.

E

equals(Object) - Method in class org.apache.felix.eventadmin.impl.security.EventAdminSecurityDecorator
Overrides equals() and delegates the call to the decorated service instance.
EventAdminImpl - Class in org.apache.felix.eventadmin.impl
This is the actual implementation of the OSGi R4 Event Admin Service (see the Compendium 113 for details).
EventAdminImpl(HandlerTasks, DefaultThreadPool, DefaultThreadPool, int, String[]) - Constructor for class org.apache.felix.eventadmin.impl.EventAdminImpl
The constructor of the EventAdmin implementation.
EventAdminSecurityDecorator - Class in org.apache.felix.eventadmin.impl.security
This class is a decorator for an EventAdmin service.
EventAdminSecurityDecorator(Bundle, EventAdmin) - Constructor for class org.apache.felix.eventadmin.impl.security.EventAdminSecurityDecorator
The constructor of this decorator.
execute(List) - Method in class org.apache.felix.eventadmin.impl.tasks.AsyncDeliverTasks
This does not block an unrelated thread used to send a synchronous event.
execute(List) - Method in interface org.apache.felix.eventadmin.impl.tasks.DeliverTask
Dispatch the given event dispatch tasks.
execute() - Method in interface org.apache.felix.eventadmin.impl.tasks.HandlerTask
Deliver the event to the handler.
execute() - Method in class org.apache.felix.eventadmin.impl.tasks.HandlerTaskImpl
 
execute(List) - Method in class org.apache.felix.eventadmin.impl.tasks.SyncDeliverTasks
This blocks an unrelated thread used to send a synchronous event until the event is send (or a timeout occurs).
executeTask(Runnable) - Method in class org.apache.felix.eventadmin.impl.dispatch.DefaultThreadPool
Execute the task in a free thread or create a new one.

F

Filters - Interface in org.apache.felix.eventadmin.impl.handler
The factory for Filter objects.
finished() - Method in interface org.apache.felix.eventadmin.impl.tasks.HandlerTask
Is the delivery finished
finished() - Method in class org.apache.felix.eventadmin.impl.tasks.HandlerTaskImpl
 
frameworkEvent(FrameworkEvent) - Method in class org.apache.felix.eventadmin.impl.adapter.FrameworkEventAdapter
Once a framework event is received this method assembles and posts an event via the EventAdmin as specified in 113.6.3 OSGi R4 compendium.
FrameworkEventAdapter - Class in org.apache.felix.eventadmin.impl.adapter
This class registers itself as a listener for framework events and posts them via the EventAdmin as specified in 113.6.3 OSGi R4 compendium.
FrameworkEventAdapter(BundleContext, EventAdmin) - Constructor for class org.apache.felix.eventadmin.impl.adapter.FrameworkEventAdapter
The constructor of the adapter.

G

get(Object) - Method in interface org.apache.felix.eventadmin.impl.util.CacheMap
Return the value for the key in case there is one in the cache.
get(Object) - Method in class org.apache.felix.eventadmin.impl.util.LeastRecentlyUsedCacheMap
Returns the value for the key in case there is one.
getCascadingBarrier() - Method in class org.apache.felix.eventadmin.impl.tasks.SyncThread
 
getEventAdmin() - Method in class org.apache.felix.eventadmin.impl.adapter.AbstractAdapter
 
getEventHandler(ServiceReference) - Method in class org.apache.felix.eventadmin.impl.handler.BlacklistingHandlerTasks
Get the real EventHandler service for the handlerRef from the context in case the ref is not blacklisted and the service is not unregistered.
getHandlerClassName() - Method in interface org.apache.felix.eventadmin.impl.tasks.HandlerTask
Return the class name of the handler
getHandlerClassName() - Method in class org.apache.felix.eventadmin.impl.tasks.HandlerTaskImpl
 
getLocales() - Method in class org.apache.felix.eventadmin.impl.MetaTypeProviderImpl
 
getLogger() - Static method in class org.apache.felix.eventadmin.impl.util.LogWrapper
Returns the singleton instance of this LogWrapper that can be used to send log messages to all currently available LogServices or to standard output, respectively.
getLogLevel() - Method in class org.apache.felix.eventadmin.impl.util.LogWrapper
 
getObjectClassDefinition(String, String) - Method in class org.apache.felix.eventadmin.impl.MetaTypeProviderImpl
 
getService(Bundle, ServiceRegistration) - Method in class org.apache.felix.eventadmin.impl.security.SecureEventAdminFactory
Returns a new EventAdminSecurityDecorator initialized with the given EventAdmin.
getTimerBarrier() - Method in class org.apache.felix.eventadmin.impl.tasks.SyncThread
 

H

HandlerTask - Interface in org.apache.felix.eventadmin.impl.tasks
A task that will deliver its event to its EventHandler when executed or blacklist the handler, respectively.
HandlerTaskImpl - Class in org.apache.felix.eventadmin.impl.tasks
An implementation of the HandlerTask interface.
HandlerTaskImpl(ServiceReference, Event, BlacklistingHandlerTasks) - Constructor for class org.apache.felix.eventadmin.impl.tasks.HandlerTaskImpl
Construct a delivery task for the given service and event.
HandlerTasks - Interface in org.apache.felix.eventadmin.impl.handler
The factory for event handler tasks.
hashCode() - Method in class org.apache.felix.eventadmin.impl.security.EventAdminSecurityDecorator
Overrides hashCode() and returns the hash code of the decorated service instance.

I

init(Rendezvous, Rendezvous) - Method in class org.apache.felix.eventadmin.impl.tasks.SyncThread
 
innerEventHandlingStart() - Method in class org.apache.felix.eventadmin.impl.tasks.SyncThread
 
innerEventHandlingStopped() - Method in class org.apache.felix.eventadmin.impl.tasks.SyncThread
 
isTimedOut() - Method in class org.apache.felix.eventadmin.impl.tasks.Rendezvous
 
isTopMostHandler() - Method in class org.apache.felix.eventadmin.impl.tasks.SyncThread
 

L

LeastRecentlyUsedCacheMap - Class in org.apache.felix.eventadmin.impl.util
This class implements a least recently used cache map.
LeastRecentlyUsedCacheMap(int) - Constructor for class org.apache.felix.eventadmin.impl.util.LeastRecentlyUsedCacheMap
The constructor of the cache.
log(int, String) - Method in class org.apache.felix.eventadmin.impl.util.LogWrapper
Log a message with the given log level.
log(int, String, Throwable) - Method in class org.apache.felix.eventadmin.impl.util.LogWrapper
Log a message with the given log level and the associated exception.
log(ServiceReference, int, String) - Method in class org.apache.felix.eventadmin.impl.util.LogWrapper
Log a message with the given log level together with the associated service reference.
log(ServiceReference, int, String, Throwable) - Method in class org.apache.felix.eventadmin.impl.util.LogWrapper
Log a message with the given log level, the associated service reference and exception.
LOG_DEBUG - Static variable in class org.apache.felix.eventadmin.impl.util.LogWrapper
DEBUG LEVEL
LOG_ERROR - Static variable in class org.apache.felix.eventadmin.impl.util.LogWrapper
ERROR LEVEL
LOG_INFO - Static variable in class org.apache.felix.eventadmin.impl.util.LogWrapper
INFO LEVEL
LOG_WARNING - Static variable in class org.apache.felix.eventadmin.impl.util.LogWrapper
WARNING LEVEL
LogEventAdapter - Class in org.apache.felix.eventadmin.impl.adapter
This class registers itself as a listener for LogReaderService services with the framework and subsequently, a LogListener callback with any currently available LogReaderService.
LogEventAdapter(BundleContext, EventAdmin) - Constructor for class org.apache.felix.eventadmin.impl.adapter.LogEventAdapter
The constructor of the adapter.
LogWrapper - Class in org.apache.felix.eventadmin.impl.util
This class mimics the standard OSGi LogService interface.

M

MetaTypeProviderImpl - Class in org.apache.felix.eventadmin.impl
The optional meta type provider for the event admin config.
MetaTypeProviderImpl(ManagedService, int, int, int, boolean, String[]) - Constructor for class org.apache.felix.eventadmin.impl.MetaTypeProviderImpl
 

O

org.apache.felix.eventadmin.impl - package org.apache.felix.eventadmin.impl
 
org.apache.felix.eventadmin.impl.adapter - package org.apache.felix.eventadmin.impl.adapter
 
org.apache.felix.eventadmin.impl.dispatch - package org.apache.felix.eventadmin.impl.dispatch
 
org.apache.felix.eventadmin.impl.handler - package org.apache.felix.eventadmin.impl.handler
 
org.apache.felix.eventadmin.impl.security - package org.apache.felix.eventadmin.impl.security
 
org.apache.felix.eventadmin.impl.tasks - package org.apache.felix.eventadmin.impl.tasks
 
org.apache.felix.eventadmin.impl.util - package org.apache.felix.eventadmin.impl.util
 

P

PermissionsUtil - Class in org.apache.felix.eventadmin.impl.security
Utility class for permissions.
PermissionsUtil() - Constructor for class org.apache.felix.eventadmin.impl.security.PermissionsUtil
 
postEvent(Event) - Method in class org.apache.felix.eventadmin.impl.EventAdminImpl
Post an asynchronous event.
postEvent(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 post an event to the targeted topic.

R

remove(Object) - Method in interface org.apache.felix.eventadmin.impl.util.CacheMap
Remove a key and its value from the cache.
remove(Object) - Method in class org.apache.felix.eventadmin.impl.util.LeastRecentlyUsedCacheMap
Remove the entry denoted by key from the cache and return its value.
Rendezvous - Class in org.apache.felix.eventadmin.impl.tasks
This is a simplified version of the CyclicBarrier implementation.
Rendezvous() - Constructor for class org.apache.felix.eventadmin.impl.tasks.Rendezvous
Create a Barrier for the indicated number of parties, and the default Rotator function to run at each barrier point.

S

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.

T

TopicHandlerFilters - Interface in org.apache.felix.eventadmin.impl.handler
The factory for EventHandler filters based on a certain topic.
TRUE_FILTER - Static variable in interface org.apache.felix.eventadmin.impl.handler.Filters
A null filter object that matches any given service reference.

U

ungetEventHandler(EventHandler, ServiceReference) - Method in class org.apache.felix.eventadmin.impl.handler.BlacklistingHandlerTasks
Unget the service reference for the given event handler unless it is the NullEventHandler.
ungetService(Bundle, ServiceRegistration, Object) - Method in class org.apache.felix.eventadmin.impl.security.SecureEventAdminFactory
This method doesn't do anything at the moment.
update(HandlerTasks, int, String[]) - Method in class org.apache.felix.eventadmin.impl.EventAdminImpl
Update the event admin with new configuration.
update(long, String[]) - Method in class org.apache.felix.eventadmin.impl.tasks.SyncDeliverTasks
 
updated(Dictionary) - Method in class org.apache.felix.eventadmin.impl.MetaTypeProviderImpl
 

W

waitAttemptForRendezvous(long) - Method in class org.apache.felix.eventadmin.impl.tasks.Rendezvous
see CyclicBarrier.attemptBarrier(long)
waitForRendezvous() - Method in class org.apache.felix.eventadmin.impl.tasks.Rendezvous
see CyclicBarrier.barrier()
A B C D E F G H I L M O P R S T U W 

Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.