org.objectweb.fractal.api
Interface Component
public interface Component
A component interface to introspect the external interfaces of the component
to which it belongs.
Object | getFcInterface(String interfaceName) - Returns an external interface of the component to which this interface
belongs.
|
Object[] | getFcInterfaces() - Returns the external interfaces of the component to which this interface
belongs.
|
Type | getFcType() - Returns the type of the component to which this interface belongs.
|
getFcInterface
public Object getFcInterface(String interfaceName)
throws NoSuchInterfaceException
Returns an external interface of the component to which this interface
belongs.
interfaceName
- the name of the external interface that must be
returned.
- the external interface of the component to which this interface
belongs, whose name is equal to the given name.
NoSuchInterfaceException
- if there is no such interface.
getFcInterfaces
public Object[] getFcInterfaces()
Returns the external interfaces of the component to which this interface
belongs.
- the external interfaces of the component to which this interface
belongs, including this interface.
getFcType
public Type getFcType()
Returns the type of the component to which this interface belongs. The type
system is not specified here, in order to allow many type systems to be
used. The basic type system specified in the org.objectweb.fractal.api.type
package should be sufficient in most cases,
but another one can be used if necessary.
- the type of the component to which this interface belongs.