A B D E F G I K L O P R S V X

A

a - Variable in class org.apache.felix.servicebinder.impl.ArchitectureEventMulticaster
 
a - Variable in class org.apache.felix.servicebinder.InstanceManager.StateChangeMulticaster
 
activate() - Method in class org.apache.felix.servicebinder.impl.ArchitectureServiceImpl
 
activate() - Method in interface org.apache.felix.servicebinder.Lifecycle
This method is called after the instance is created, all of its dependencies are valid, and all implemented services are registered.
Activator - Class in org.apache.felix.servicebinder.impl
 
Activator() - Constructor for class org.apache.felix.servicebinder.impl.Activator
 
add(ServiceBinderListener, ServiceBinderListener) - Static method in class org.apache.felix.servicebinder.impl.ArchitectureEventMulticaster
 
add(InstanceReferenceListener, InstanceReferenceListener) - Static method in class org.apache.felix.servicebinder.InstanceManager.StateChangeMulticaster
 
addInstanceReference(InstanceReference) - Static method in class org.apache.felix.servicebinder.impl.ArchitectureServiceImpl
 
addInstanceReferenceListener(InstanceReferenceListener) - Method in class org.apache.felix.servicebinder.InstanceManager
Adds an instance reference listener to listen for changes to the availability of the underlying object associated with this instance reference.
addInstanceReferenceListener(InstanceReferenceListener) - Method in interface org.apache.felix.servicebinder.InstanceReference
Adds an instance reference listener to listen for changes to the availability of the underlying object associated with this instance reference.
addServiceBinderListener(ServiceBinderListener) - Method in interface org.apache.felix.servicebinder.architecture.ArchitectureService
Add a service binder listener
addServiceBinderListener(ServiceBinderListener) - Method in class org.apache.felix.servicebinder.impl.ArchitectureServiceImpl
Add a service binder listener
ArchitectureEventMulticaster - Class in org.apache.felix.servicebinder.impl
 
ArchitectureEventMulticaster(ServiceBinderListener, ServiceBinderListener) - Constructor for class org.apache.felix.servicebinder.impl.ArchitectureEventMulticaster
 
ArchitectureService - Interface in org.apache.felix.servicebinder.architecture
A service to provide an architectural vision of the instances created by the service binder
ArchitectureServiceImpl - Class in org.apache.felix.servicebinder.impl
Class that implements the architecture service an object of this class is created when the service binder bundle is activated
ArchitectureServiceImpl() - Constructor for class org.apache.felix.servicebinder.impl.ArchitectureServiceImpl
 

B

b - Variable in class org.apache.felix.servicebinder.impl.ArchitectureEventMulticaster
 
b - Variable in class org.apache.felix.servicebinder.InstanceManager.StateChangeMulticaster
 

D

deactivate() - Method in class org.apache.felix.servicebinder.impl.ArchitectureServiceImpl
 
deactivate() - Method in interface org.apache.felix.servicebinder.Lifecycle
This method is called prior to instance disposal.
Dependency - Interface in org.apache.felix.servicebinder.architecture
Interface for a dependency
DEPENDENCY_CREATED - Static variable in class org.apache.felix.servicebinder.architecture.DependencyChangeEvent
 
DEPENDENCY_DESTROYED - Static variable in class org.apache.felix.servicebinder.architecture.DependencyChangeEvent
 
DEPENDENCY_INVALID - Static variable in class org.apache.felix.servicebinder.architecture.DependencyChangeEvent
 
DEPENDENCY_VALID - Static variable in class org.apache.felix.servicebinder.architecture.DependencyChangeEvent
 
dependencyChanged(DependencyChangeEvent) - Method in interface org.apache.felix.servicebinder.architecture.ServiceBinderListener
 
dependencyChanged(DependencyChangeEvent) - Method in class org.apache.felix.servicebinder.impl.ArchitectureEventMulticaster
 
DependencyChangeEvent - Class in org.apache.felix.servicebinder.architecture
An event thrown when a dependency changes
DependencyChangeEvent(Dependency, DependencyMetadata, int) - Constructor for class org.apache.felix.servicebinder.architecture.DependencyChangeEvent
 
DependencyMetadata - Class in org.apache.felix.servicebinder
Metadata of a dependency

E

endElement(String, String, String) - Method in class org.apache.felix.servicebinder.XmlHandler
Method called when a tag closes

F

findInstanceReference(Object) - Static method in class org.apache.felix.servicebinder.impl.ArchitectureServiceImpl
 
fireDependencyChangeEvent(DependencyChangeEvent) - Method in class org.apache.felix.servicebinder.impl.ArchitectureServiceImpl
Fires an event when a dependency has changed
fireInstanceChangeEvent(InstanceChangeEvent) - Method in class org.apache.felix.servicebinder.impl.ArchitectureServiceImpl
Fires an event when an instance has changed
fireInstanceReferenceInvalidating() - Method in class org.apache.felix.servicebinder.InstanceManager
Fires an event when the instance reference is invalidating
fireInstanceReferenceValidated() - Method in class org.apache.felix.servicebinder.InstanceManager
Fires an event when the instance reference has been validated

G

GenericActivator - Class in org.apache.felix.servicebinder
The GenericActivator, it will read information from the metadata.xml file and will create the corresponding instance managers
GenericActivator() - Constructor for class org.apache.felix.servicebinder.GenericActivator
 
get(String) - Method in class org.apache.felix.servicebinder.InstanceManager
Get a property associated with this instance.
get(String) - Method in interface org.apache.felix.servicebinder.InstanceReference
Get a property associated with this instance.
get(InstanceReference) - Method in interface org.apache.felix.servicebinder.InstanceReference.ValueHolder
Returns the associated value.
getBindMethodName() - Method in class org.apache.felix.servicebinder.DependencyMetadata
Get the name of the Bind method
getBoundInstances() - Method in interface org.apache.felix.servicebinder.architecture.Dependency
get the bound service objects
getBundleContext() - Method in class org.apache.felix.servicebinder.GenericActivator
Returns the BundleContext
getBundleContext() - Method in interface org.apache.felix.servicebinder.ServiceBinderContext
 
getBundleId() - Method in interface org.apache.felix.servicebinder.architecture.Instance
Get the bundle
getBundleId() - Method in class org.apache.felix.servicebinder.InstanceManager
Get the state
getCardinality() - Method in class org.apache.felix.servicebinder.DependencyMetadata
Get the cardinality as a string
getChildInstances() - Method in interface org.apache.felix.servicebinder.architecture.Instance
Get a list of child instances in case this instance is a factory
getChildInstances() - Method in class org.apache.felix.servicebinder.InstanceManager
Get a list of child instances in case this is a factory
getDependencies() - Method in interface org.apache.felix.servicebinder.architecture.Instance
Get a list of depenencies
getDependencies() - Method in class org.apache.felix.servicebinder.InstanceManager
Get an array of dependencies for this instance.
getDependencies() - Method in class org.apache.felix.servicebinder.InstanceMetadata
Returns the dependency descriptors
getDependency() - Method in class org.apache.felix.servicebinder.architecture.DependencyChangeEvent
 
getDependencyMetadata() - Method in interface org.apache.felix.servicebinder.architecture.Dependency
get the dependency metadata
getDependencyMetadata() - Method in class org.apache.felix.servicebinder.architecture.DependencyChangeEvent
 
getDependencyState() - Method in interface org.apache.felix.servicebinder.architecture.Dependency
get the dependency state
getFilter() - Method in class org.apache.felix.servicebinder.DependencyMetadata
Returns the filter
getImplementorName() - Method in class org.apache.felix.servicebinder.InstanceMetadata
Returns the name of the implementor
getInstance() - Method in class org.apache.felix.servicebinder.architecture.InstanceChangeEvent
 
getInstanceMetadata() - Method in interface org.apache.felix.servicebinder.architecture.Instance
Get the instance metadata
getInstanceMetadata() - Method in class org.apache.felix.servicebinder.architecture.InstanceChangeEvent
 
getInstanceMetadata() - Method in class org.apache.felix.servicebinder.InstanceManager
Returns the InstanceMetadata
getInstanceReference() - Method in interface org.apache.felix.servicebinder.ServiceBinderContext
 
getInstanceReferences() - Method in class org.apache.felix.servicebinder.GenericActivator
Returns the list of instance references currently associated to this activator
getInstanceReferences() - Method in interface org.apache.felix.servicebinder.ServiceBinderContext
 
getInstances() - Method in interface org.apache.felix.servicebinder.architecture.ArchitectureService
Get a list of all the available instance references
getInstances() - Method in class org.apache.felix.servicebinder.impl.ArchitectureServiceImpl
 
getInstantiates() - Method in class org.apache.felix.servicebinder.InstanceMetadata
Get the meta data of the instances
getInterfaces() - Method in class org.apache.felix.servicebinder.InstanceMetadata
Returns the implemented interfaces
getName() - Method in class org.apache.felix.servicebinder.PropertyMetadata
Get the name of the property
getObject() - Method in class org.apache.felix.servicebinder.InstanceManager
Get the object that is implementing this descriptor
getObject() - Method in interface org.apache.felix.servicebinder.InstanceReference
Gets the actual object associated with this instance refernce.
getPolicy() - Method in class org.apache.felix.servicebinder.DependencyMetadata
Get the policy as a string
getProperties() - Method in class org.apache.felix.servicebinder.InstanceMetadata
Returns the property descriptors
getReference() - Static method in class org.apache.felix.servicebinder.impl.ArchitectureServiceImpl
 
getServiceName() - Method in class org.apache.felix.servicebinder.DependencyMetadata
Returns the name of the required service
getState() - Method in class org.apache.felix.servicebinder.architecture.DependencyChangeEvent
 
getState() - Method in interface org.apache.felix.servicebinder.architecture.Instance
Get the state of the instance
getState() - Method in class org.apache.felix.servicebinder.architecture.InstanceChangeEvent
 
getState() - Method in class org.apache.felix.servicebinder.InstanceManager
Get the state
getType() - Method in class org.apache.felix.servicebinder.PropertyMetadata
Get the type of the property
getUnbindMethodName() - Method in class org.apache.felix.servicebinder.DependencyMetadata
Get the name of the Unbind method
getValue() - Method in class org.apache.felix.servicebinder.PropertyMetadata
Get the value of the property

I

Instance - Interface in org.apache.felix.servicebinder.architecture
 
INSTANCE_BUNDLE - Static variable in interface org.apache.felix.servicebinder.InstanceReference
 
INSTANCE_CREATED - Static variable in interface org.apache.felix.servicebinder.architecture.Instance
 
INSTANCE_DEPENDENCIES - Static variable in interface org.apache.felix.servicebinder.InstanceReference
 
INSTANCE_DESTROYED - Static variable in interface org.apache.felix.servicebinder.architecture.Instance
 
INSTANCE_INVALID - Static variable in interface org.apache.felix.servicebinder.architecture.Instance
 
INSTANCE_METADATA - Static variable in interface org.apache.felix.servicebinder.InstanceReference
 
INSTANCE_STATE - Static variable in interface org.apache.felix.servicebinder.InstanceReference
 
INSTANCE_VALID - Static variable in interface org.apache.felix.servicebinder.architecture.Instance
 
InstanceChangeEvent - Class in org.apache.felix.servicebinder.architecture
 
InstanceChangeEvent(Instance, InstanceMetadata, int) - Constructor for class org.apache.felix.servicebinder.architecture.InstanceChangeEvent
 
InstanceManager - Class in org.apache.felix.servicebinder
A InstanceManager is created for every component instance.
InstanceManager.StateChangeMulticaster - Class in org.apache.felix.servicebinder
 
InstanceManager.StateChangeMulticaster(InstanceReferenceListener, InstanceReferenceListener) - Constructor for class org.apache.felix.servicebinder.InstanceManager.StateChangeMulticaster
 
InstanceMetadata - Class in org.apache.felix.servicebinder
Description of an instance entry in the descriptor file * * @author Felix Project Team
InstanceReference - Interface in org.apache.felix.servicebinder
This interface creates a level of indirection for the objects created by a factory.
InstanceReference.ValueHolder - Interface in org.apache.felix.servicebinder
A simple interface that enabled deferred value creation for the InstanceReference.get() and InstanceReference.put() methods.
instanceReferenceChanged(InstanceChangeEvent) - Method in interface org.apache.felix.servicebinder.architecture.ServiceBinderListener
 
instanceReferenceChanged(InstanceChangeEvent) - Method in class org.apache.felix.servicebinder.impl.ArchitectureEventMulticaster
 
InstanceReferenceEvent - Class in org.apache.felix.servicebinder
This class is the event generated when the availability of the underlying object associated with an InstanceReference changes.
InstanceReferenceEvent(InstanceReference) - Constructor for class org.apache.felix.servicebinder.InstanceReferenceEvent
Construct an event with the specified source instance reference.
InstanceReferenceListener - Interface in org.apache.felix.servicebinder
This is an event listener for listening to changes in the availability of the underlying object associated with an InstanceReference.
instanceRegistersServices() - Method in class org.apache.felix.servicebinder.InstanceMetadata
Test to see if this descriptor describes a bundle-to-service dependency that means that the instance does not register any services.
invalidating(InstanceReferenceEvent) - Method in class org.apache.felix.servicebinder.InstanceManager.StateChangeMulticaster
 
invalidating(InstanceReferenceEvent) - Method in interface org.apache.felix.servicebinder.InstanceReferenceListener
This method is called when an InstanceReference's underlying object is going to be invalidated.
isFactory() - Method in class org.apache.felix.servicebinder.InstanceMetadata
Test to see if this service is a factory
isInstance() - Method in class org.apache.felix.servicebinder.InstanceMetadata
Test to see if this descriptor is registered from an instance from a factory.
isMultiple() - Method in class org.apache.felix.servicebinder.DependencyMetadata
Test if dependency is multiple (0..n or 1..n)
isOptional() - Method in class org.apache.felix.servicebinder.DependencyMetadata
Test if dependency is optional (0..1 or 0..n)
isStatic() - Method in class org.apache.felix.servicebinder.DependencyMetadata
Test if dependency's binding policy is static

K

KxmlParser - Class in org.apache.felix.servicebinder.parser
The KxmlParser extends the XmlParser from kxml.
KxmlParser(Reader) - Constructor for class org.apache.felix.servicebinder.parser.KxmlParser
The constructor for a parser, it receives a java.io.Reader.

L

Lifecycle - Interface in org.apache.felix.servicebinder
Instances created by the service binder, either via the GenericActivator or the GenericFactory, may implement this interface to receive notification of object life cycle events.

O

org.apache.felix.servicebinder - package org.apache.felix.servicebinder
 
org.apache.felix.servicebinder.architecture - package org.apache.felix.servicebinder.architecture
 
org.apache.felix.servicebinder.impl - package org.apache.felix.servicebinder.impl
 
org.apache.felix.servicebinder.parser - package org.apache.felix.servicebinder.parser
 

P

ParseException - Exception in org.apache.felix.servicebinder.parser
Exceptions thrown by the ServiceBinder.
ParseException(String) - Constructor for exception org.apache.felix.servicebinder.parser.ParseException
 
parseXML(XmlHandler) - Method in class org.apache.felix.servicebinder.parser.KxmlParser
Parser from the reader provided in the constructor, and call the startElement and endElement in a KxmlHandler
PropertyMetadata - Class in org.apache.felix.servicebinder
A property descriptor that contains the information for properties defined in the meta-data file.
PropertyMetadata(String, String, String) - Constructor for class org.apache.felix.servicebinder.PropertyMetadata
Create a PropertyMetadata object
proxyProvidedServiceObject(Object, InstanceMetadata) - Method in class org.apache.felix.servicebinder.GenericActivator
Method called before an object implementing services is registered in the OSGi framework.
proxyRequiredServiceObject(Object, DependencyMetadata) - Method in class org.apache.felix.servicebinder.GenericActivator
Method called before the binding of the service object occurs.
put(String, Object) - Method in class org.apache.felix.servicebinder.InstanceManager
Associate a property with this instance.
put(String, Object) - Method in interface org.apache.felix.servicebinder.InstanceReference
Associate a property with this instance.

R

remove(ServiceBinderListener, ServiceBinderListener) - Static method in class org.apache.felix.servicebinder.impl.ArchitectureEventMulticaster
 
remove(InstanceReferenceListener, InstanceReferenceListener) - Static method in class org.apache.felix.servicebinder.InstanceManager.StateChangeMulticaster
 
removeInstanceReference(InstanceReference) - Static method in class org.apache.felix.servicebinder.impl.ArchitectureServiceImpl
 
removeInstanceReferenceListener(InstanceReferenceListener) - Method in class org.apache.felix.servicebinder.InstanceManager
Removes an instance reference listener.
removeInstanceReferenceListener(InstanceReferenceListener) - Method in interface org.apache.felix.servicebinder.InstanceReference
Removes an instance reference listener.
removeServiceBinderListener(ServiceBinderListener) - Method in interface org.apache.felix.servicebinder.architecture.ArchitectureService
Remove a service binder listener
removeServiceBinderListener(ServiceBinderListener) - Method in class org.apache.felix.servicebinder.impl.ArchitectureServiceImpl
Remove a service binder listener

S

ServiceBinderContext - Interface in org.apache.felix.servicebinder
The ServiceBinderContext is passed to the objects that implement the services if they implement a constructor that receives a reference of this type.
ServiceBinderException - Exception in org.apache.felix.servicebinder
Exceptions thrown by the ServiceBinder.
ServiceBinderException(String) - Constructor for exception org.apache.felix.servicebinder.ServiceBinderException
 
ServiceBinderListener - Interface in org.apache.felix.servicebinder.architecture
The ServiceBinderListener interface must be implemented by any subclass of the GenericActivator if it wishes to receive notifications about changes in the architecture
start(BundleContext) - Method in class org.apache.felix.servicebinder.GenericActivator
Called upon starting of the bundle.
startElement(String, String, String, Properties) - Method in class org.apache.felix.servicebinder.XmlHandler
Method called when a tag opens
stop(BundleContext) - Method in class org.apache.felix.servicebinder.GenericActivator
Stop method that destroys all the instance managers

V

validated(InstanceReferenceEvent) - Method in class org.apache.felix.servicebinder.InstanceManager.StateChangeMulticaster
 
validated(InstanceReferenceEvent) - Method in interface org.apache.felix.servicebinder.InstanceReferenceListener
This method is called when an InstanceReference's underlying object becomes valid, i.e., the instance is available for use.

X

XmlHandler - Class in org.apache.felix.servicebinder
Simple content handler that builds a list of service descriptors

A B D E F G I K L O P R S V X

Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.