Package org.objectweb.fractal.api.type

Specifies a basic type system for components and component interfaces.

See:
          Description

Interface Summary
ComponentType A component type.
InterfaceType A component interface type.
TypeFactory A component interface to create component and interface type objects.
 

Package org.objectweb.fractal.api.type Description

Specifies a basic type system for components and component interfaces. According to this type system, a component type is just a collection of component interface types, which describes the interfaces that components of this type must or may have at runtime. A component type describes explicitely the external interfaces of a component and, implicitely, its internal interfaces. Indeed, if the type of a component c is of the following form:

Then this component: Futhermore, if this component provides access to its content, then it: Moreover, each internal interface must have a corresponding external interface of the same name (but the converse is not necessarily true). The figure below illustrates these definitions.

Figure: a sample "instance" of the above type.

Since:
Fractal 0.8.0