org.apache.felix.servicebinder.architecture
Interface ArchitectureService

All Known Implementing Classes:
ArchitectureServiceImpl

public interface ArchitectureService

A service to provide an architectural vision of the instances created by the service binder

Author:
Felix Project Team

Method Summary
 void addServiceBinderListener(ServiceBinderListener listener)
          Add a service binder listener
 Instance[] getInstances()
          Get a list of all the available instance references
 void removeServiceBinderListener(ServiceBinderListener listener)
          Remove a service binder listener
 

Method Detail

getInstances

Instance[] getInstances()
Get a list of all the available instance references

Returns:
a List containing all of the instance references

addServiceBinderListener

void addServiceBinderListener(ServiceBinderListener listener)
Add a service binder listener

Parameters:
listener - a ServiceBinderListener to add to the Architecture service

removeServiceBinderListener

void removeServiceBinderListener(ServiceBinderListener listener)
Remove a service binder listener

Parameters:
listener - the listener to be removed


Copyright © 2011 Apache Software Foundation. All Rights Reserved.