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(Prefix prefix, ComponentType componentType, 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(Prefix prefix, ComponentType componentType, 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:
prefix- prefix for the component withsubsystemandnamecomponentType- the type of the component as defined byComponentTypeclassName- 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
-
-