Class ComponentInstanceUtil


  • public class ComponentInstanceUtil
    extends java.lang.Object
    The ComponentInstanceUtil provides some utilities to deal with component instances. For instance, it may be used to check whether a ComponentInstance conforms the dependencies defined in the respective Component.
    • Method Detail

      • isValidComponentInstantiation

        public static boolean isValidComponentInstantiation​(ComponentInstance ci)
        Checks whether a component instance adheres to the defined inter-parameter dependencies defined in the component.
        Parameters:
        ci - The component instance to be verified.
        Returns:
        Returns true iff all dependency conditions hold.
      • toComponentNameString

        public static java.lang.String toComponentNameString​(ComponentInstance ci)