Package csw.framework.javadsl
Class JComponentInfo
java.lang.Object
csw.framework.javadsl.JComponentInfo
Helper instance for Java to create
ComponentInfo-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentInfofrom(Prefix prefix, ComponentType componentType, String className, LocationServiceUsage locationServiceUsage, Set<Connection> connections, Duration initializeTimeout) The information needed to create a component.
-
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 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
-