Class JComponentInfo


  • public class JComponentInfo
    extends java.lang.Object
    Helper instance for Java to create ComponentInfo
    • Constructor Summary

      Constructors 
      Constructor Description
      JComponentInfo()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ComponentInfo from​(java.lang.String name, ComponentType componentType, Prefix prefix, java.lang.String className, LocationServiceUsage locationServiceUsage, java.util.Set<Connection> connections, java.time.Duration initializeTimeout)
      The information needed to create a component.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JComponentInfo

        public JComponentInfo()
    • Method Detail

      • from

        public static ComponentInfo from​(java.lang.String name,
                                         ComponentType componentType,
                                         Prefix prefix,
                                         java.lang.String className,
                                         LocationServiceUsage locationServiceUsage,
                                         java.util.Set<Connection> connections,
                                         java.time.Duration initializeTimeout)
        The information needed to create a component. This class is created after de-serializing the config file for the component.

        Parameters:
        name - the name of the component
        componentType - the type of the component as defined by ComponentType
        prefix - identifies the subsystem
        className - specifies the component to be created by name of the class of it's factory
        locationServiceUsage - specifies component's usage of location service
        connections - set of connections that will be used by this component for interaction
        initializeTimeout - the timeout value used while initializing a component
        Returns:
        an instance of ComponentInfo