Package csw.framework.javadsl
Class JComponentInfo
- java.lang.Object
-
- csw.framework.javadsl.JComponentInfo
-
public class JComponentInfo extends java.lang.ObjectHelper instance for Java to createComponentInfo
-
-
Constructor Summary
Constructors Constructor Description JComponentInfo()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ComponentInfofrom(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.
-
-
-
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 componentcomponentType- the type of the component as defined byComponentTypeprefix- identifies the subsystemclassName- specifies the component to be created by name of the class of it's factorylocationServiceUsage- specifies component's usage of location serviceconnections- set of connections that will be used by this component for interactioninitializeTimeout- the timeout value used while initializing a component- Returns:
- an instance of ComponentInfo
-
-