tamago
Interface ReflectionController

All Superinterfaces:
Controller

public interface ReflectionController
extends Controller

The controller interface for component reflection Implementors of this controller publish their actual bindings to the components providing the required services. Clients may then interact directly with the providers and temper with the overall composition. Note: this powerfull feature should be used with care because it is a shortcut to implementation details at runtime.

Author:
Frederic Peschanski

Method Summary
 java.lang.Object[] getProviders(ServiceType type)
          fetch the implementations of the service providers Note: there may be multiple providers for a given service
 

Method Detail

getProviders

java.lang.Object[] getProviders(ServiceType type)
fetch the implementations of the service providers Note: there may be multiple providers for a given service

Parameters:
type - the service type that must be reflected upon.
Returns:
the provider components for the given service, or null if none.