tamago
Interface IntrospectionController

All Superinterfaces:
Controller
All Known Subinterfaces:
CompositeIntrospectionController

public interface IntrospectionController
extends Controller

The controller interface for component introspection Implementors of this controller can describe their characteristics in terms of required and provided services.

Author:
Frederic Peschanski

Method Summary
 ComponentType getComponentType()
          get the type of component.
 ServiceType getProvidedServiceType(java.lang.String from_name)
          fetch the type of a provided service by name.
 ServiceType[] getProvidedServiceTypes()
          get the type of all services provided by the component.
 ServiceType getRequiredServiceType(java.lang.String from_name)
          fetch the type of a required service by name.
 ServiceType[] getRequiredServiceTypes()
          get the type of all services required by the component.
 

Method Detail

getComponentType

ComponentType getComponentType()
get the type of component. Note that component types (structural information), component definitions (implementation of the component) and component instances (deployed code) are distinguished

Returns:
the type of the component

getProvidedServiceTypes

ServiceType[] getProvidedServiceTypes()
get the type of all services provided by the component.

Returns:
an array will all provided service types or null if there is no provided service.

getProvidedServiceType

ServiceType getProvidedServiceType(java.lang.String from_name)
fetch the type of a provided service by name.

Returns:
the provided service type or null if not provided.

getRequiredServiceTypes

ServiceType[] getRequiredServiceTypes()
get the type of all services required by the component.

Returns:
an array will all required service types or null if there is no required service

getRequiredServiceType

ServiceType getRequiredServiceType(java.lang.String from_name)
fetch the type of a required service by name.

Returns:
the required service type or null if not required.