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 Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isValidComponentInstantiation​(ComponentInstance ci)
      Checks whether a component instance adheres to the defined inter-parameter dependencies defined in the component.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.