Overlord Commons: Services 2.0.10.Final
A C F G I M O R S U 

A

AbstractServiceRegistry - Class in org.overlord.commons.services
Abstract service registry implementation.
AbstractServiceRegistry() - Constructor for class org.overlord.commons.services.AbstractServiceRegistry
 
addRegistry(ServiceRegistry) - Method in class org.overlord.commons.services.CompositeServiceRegistry
 
addServiceListener(Class<T>, ServiceListener<T>) - Method in class org.overlord.commons.services.AbstractServiceRegistry
This method registers a service listener associated with the supplied service interface.
addServiceListener(Class<T>, ServiceListener<T>) - Method in class org.overlord.commons.services.CompositeServiceRegistry
 
addServiceListener(Class<T>, ServiceListener<T>) - Method in class org.overlord.commons.services.OSGiServiceRegistry
This method registers a service listener associated with the supplied service interface.
addServiceListener(Class<T>, ServiceListener<T>) - Method in interface org.overlord.commons.services.ServiceRegistry
This method registers a service listener associated with the supplied service interface.
addServiceListener(Class<T>, ServiceListener<T>) - Static method in class org.overlord.commons.services.ServiceRegistryUtil
 

C

close(Object) - Method in class org.overlord.commons.services.AbstractServiceRegistry
This method closes the supplied service if it has a method annotated with @ServiceClose.
close(Class<?>, Object) - Method in class org.overlord.commons.services.OSGiServiceRegistry
Close the supplied service.
close() - Method in class org.overlord.commons.services.OSGiServiceRegistry.ServiceListenerAdapter
 
CompositeServiceRegistry - Class in org.overlord.commons.services
Manages a list of service registries.
CompositeServiceRegistry() - Constructor for class org.overlord.commons.services.CompositeServiceRegistry
Constructor.

F

format(String, Object...) - Static method in class org.overlord.commons.services.Messages
Look up a message in the i18n resource message bundle by key, then format the message with the given params and return the result.

G

getServices(Class<T>) - Method in class org.overlord.commons.services.CompositeServiceRegistry
 
getServices(Class<T>) - Method in class org.overlord.commons.services.OSGiServiceRegistry
 
getServices(Class<T>) - Method in class org.overlord.commons.services.ServiceLoaderServiceRegistry
 
getServices(Class<T>) - Method in interface org.overlord.commons.services.ServiceRegistry
Gets a set of all the services that have been registered for the given service interface.
getServices(Class<T>) - Static method in class org.overlord.commons.services.ServiceRegistryUtil
 
getSingleService(Class<T>) - Method in class org.overlord.commons.services.CompositeServiceRegistry
 
getSingleService(Class<T>) - Method in class org.overlord.commons.services.OSGiServiceRegistry
 
getSingleService(Class<T>) - Method in class org.overlord.commons.services.ServiceLoaderServiceRegistry
 
getSingleService(Class<T>) - Method in interface org.overlord.commons.services.ServiceRegistry
Gets a single service.
getSingleService(Class<T>) - Static method in class org.overlord.commons.services.ServiceRegistryUtil
 
getString(String) - Static method in class org.overlord.commons.services.Messages
Gets a string translation.

I

init(Object) - Method in class org.overlord.commons.services.AbstractServiceRegistry
This method initializes the supplied service if it has a method annotated with @ServiceInit.
init(Class<T>, Object) - Method in class org.overlord.commons.services.OSGiServiceRegistry
This method initializes the supplied service.
init() - Method in class org.overlord.commons.services.OSGiServiceRegistry.ServiceListenerAdapter
 

M

Messages - Class in org.overlord.commons.services
i18n messages

O

org.overlord.commons.services - package org.overlord.commons.services
 
OSGiServiceRegistry - Class in org.overlord.commons.services
Implements a service registry by delegating to the osgi service registry.
OSGiServiceRegistry() - Constructor for class org.overlord.commons.services.OSGiServiceRegistry
Constructor.
OSGiServiceRegistry.ServiceListenerAdapter<T> - Class in org.overlord.commons.services
This class bridges between the OSGi service listener and the commons service listener.
OSGiServiceRegistry.ServiceListenerAdapter(Class<T>, ServiceListener<T>, OSGiServiceRegistry) - Constructor for class org.overlord.commons.services.OSGiServiceRegistry.ServiceListenerAdapter
 

R

registered(T) - Method in interface org.overlord.commons.services.ServiceListener
This method is invoked to indicate a service has been registered.
removeServiceListener(ServiceListener<T>) - Method in class org.overlord.commons.services.AbstractServiceRegistry
This method unregisters a service listener.
removeServiceListener(ServiceListener<T>) - Method in class org.overlord.commons.services.CompositeServiceRegistry
 
removeServiceListener(ServiceListener<T>) - Method in class org.overlord.commons.services.OSGiServiceRegistry
This method unregisters a service listener.
removeServiceListener(ServiceListener<T>) - Method in interface org.overlord.commons.services.ServiceRegistry
This method unregisters a service listener.
removeServiceListener(ServiceListener<T>) - Static method in class org.overlord.commons.services.ServiceRegistryUtil
 

S

ServiceClose - Annotation Type in org.overlord.commons.services
This annotation indicates a method used to close a service instance before it is destroyed.
ServiceInit - Annotation Type in org.overlord.commons.services
This annotation indicates a method used to initialize a newly instantiated service instance.
ServiceListener<T> - Interface in org.overlord.commons.services
Callback interface for handling service lookups.
ServiceLoaderServiceRegistry - Class in org.overlord.commons.services
Implements a service registry by using the standard java ServiceLoader mechanism.
ServiceLoaderServiceRegistry() - Constructor for class org.overlord.commons.services.ServiceLoaderServiceRegistry
 
ServiceRegistry - Interface in org.overlord.commons.services
All service registry implementations must implement this interface.
ServiceRegistryUtil - Class in org.overlord.commons.services
Provides simple access to services.
ServiceRegistryUtil() - Constructor for class org.overlord.commons.services.ServiceRegistryUtil
 

U

unregistered(T) - Method in interface org.overlord.commons.services.ServiceListener
This method is invoked to indicate a service has been unregistered.
A C F G I M O R S U 
Overlord Commons: Services 2.0.10.Final

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.