OpenCOM
Interface IAccept
public interface IAccept
The IAccept interface is implemented by components who perform check operations on Component Frameworks.
This interface and its syntax is heavily influenced by the C++ CF model proposed by
ReMMoC (and hence why it includes what seem like unnecessary parameters).
isValid
boolean isValid(java.util.Vector<IUnknown> graph,
java.util.Vector<CFMetaInterface.ExposedInterface> Intfs,
int cComps,
int cIntfs)
- This method performs validation checks on CF graphs.
- Parameters:
graph - A Vector containing the internal graph of the composite component framework to checkIntfs - A Vector describing the list of interfaces exposed by the component frameworkcComps - An integer representing the number of components in the graphcIntfs - An integer describing the number of exposed interfaces
- Returns:
- A boolean indicating whether the CF contains a valid or invalid configuration