A B C D E F G H I L M O P R S 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
 
addingService(ServiceReference<EventHandler>) - Method in class org.apache.felix.eventadmin.impl.handler.EventHandlerTracker
 
AsyncDeliverTasks - Class in org.apache.felix.eventadmin.impl.tasks
This class does the actual work of the asynchronous event dispatch.
AsyncDeliverTasks(DefaultThreadPool, SyncDeliverTasks) - Constructor for class org.apache.felix.eventadmin.impl.tasks.AsyncDeliverTasks
The constructor of the class that will use the asynchronous.

B

blackListHandler() - Method in class org.apache.felix.eventadmin.impl.handler.EventHandlerProxy
Blacklist the handler.
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

canDeliver(Event) - Method in class org.apache.felix.eventadmin.impl.handler.EventHandlerProxy
Check if this handler is allowed to receive the event - blacklisted - check filter - check permission
close() - Method in class org.apache.felix.eventadmin.impl.tasks.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.tasks.DefaultThreadPool
Configure a new pool size.
createPublishPermission(String) - Static method in class org.apache.felix.eventadmin.impl.security.PermissionsUtil
Creates a TopicPermission for the given topic and the type PUBLISH
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

D

DefaultThreadPool - Class in org.apache.felix.eventadmin.impl.tasks
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.tasks.DefaultThreadPool
Create a new pool.
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.
dispose() - Method in class org.apache.felix.eventadmin.impl.handler.EventHandlerProxy
Dispose the proxy and release the handler

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.handler
This is the actual implementation of the OSGi R4 Event Admin Service (see the Compendium 113 for details).
EventAdminImpl(BundleContext, DefaultThreadPool, DefaultThreadPool, int, String[], boolean, String[]) - Constructor for class org.apache.felix.eventadmin.impl.handler.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.
EventHandlerProxy - Class in org.apache.felix.eventadmin.impl.handler
This is a proxy for event handlers.
EventHandlerProxy(EventHandlerTracker.HandlerContext, ServiceReference<EventHandler>) - Constructor for class org.apache.felix.eventadmin.impl.handler.EventHandlerProxy
Create an EventHandlerProxy.
EventHandlerTracker - Class in org.apache.felix.eventadmin.impl.handler
The event handler tracker keeps track of all event handler services.
EventHandlerTracker(BundleContext) - Constructor for class org.apache.felix.eventadmin.impl.handler.EventHandlerTracker
 
execute(Collection<EventHandlerProxy>, Event) - Method in class org.apache.felix.eventadmin.impl.tasks.AsyncDeliverTasks
This does not block an unrelated thread used to send a synchronous event.
execute(Collection<EventHandlerProxy>, Event, boolean) - 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.tasks.DefaultThreadPool
Execute the task in a free thread or create a new one.

F

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

getEventAdmin() - Method in class org.apache.felix.eventadmin.impl.adapter.AbstractAdapter
 
getHandlers(Event) - Method in class org.apache.felix.eventadmin.impl.handler.EventHandlerTracker
Get all handlers for this event
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<EventAdmin>) - Method in class org.apache.felix.eventadmin.impl.security.SecureEventAdminFactory
Returns a new EventAdminSecurityDecorator initialized with the given EventAdmin.
getTopics() - Method in class org.apache.felix.eventadmin.impl.handler.EventHandlerProxy
Get the topics of this handler.

H

hashCode() - Method in class org.apache.felix.eventadmin.impl.security.EventAdminSecurityDecorator
Overrides hashCode() and returns the hash code of the decorated service instance.

I

isAsyncOrderedDelivery() - Method in class org.apache.felix.eventadmin.impl.handler.EventHandlerProxy
Should async events be delivered in order?

L

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, boolean, String[], String[]) - Constructor for class org.apache.felix.eventadmin.impl.MetaTypeProviderImpl
 
modifiedService(ServiceReference<EventHandler>, EventHandlerProxy) - Method in class org.apache.felix.eventadmin.impl.handler.EventHandlerTracker
 

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.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.handler.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

removedService(ServiceReference<EventHandler>, EventHandlerProxy) - Method in class org.apache.felix.eventadmin.impl.handler.EventHandlerTracker
 
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.handler.EventAdminImpl
Send a synchronous event.
sendEvent(Event) - Method in class org.apache.felix.eventadmin.impl.handler.EventHandlerProxy
Send the 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.
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.handler.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) - 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.

U

ungetService(Bundle, ServiceRegistration<EventAdmin>, EventAdmin) - Method in class org.apache.felix.eventadmin.impl.security.SecureEventAdminFactory
This method doesn't do anything at the moment.
update(int, String[], boolean, String[]) - Method in class org.apache.felix.eventadmin.impl.handler.EventAdminImpl
Update the event admin with new configuration.
update() - Method in class org.apache.felix.eventadmin.impl.handler.EventHandlerProxy
Update the state with current properties from the service
update(String[], boolean) - Method in class org.apache.felix.eventadmin.impl.handler.EventHandlerTracker
Update the timeout configuration.
update(long) - Method in class org.apache.felix.eventadmin.impl.tasks.SyncDeliverTasks
Update the timeout configuration
updated(Dictionary<String, ?>) - Method in class org.apache.felix.eventadmin.impl.MetaTypeProviderImpl
 
useTimeout() - Method in class org.apache.felix.eventadmin.impl.handler.EventHandlerProxy
Should a timeout be used for this handler?

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 U W 

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