Class JComponentInfo

java.lang.Object
csw.framework.javadsl.JComponentInfo

public class JComponentInfo extends Object
Helper instance for Java to create ComponentInfo
  • Constructor Details

    • JComponentInfo

      public JComponentInfo()
  • Method Details

    • from

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

      Parameters:
      prefix - prefix for the component with subsystem and name
      componentType - the type of the component as defined by ComponentType
      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