Package csw.framework.javadsl
Class JComponentInfo$
java.lang.Object
csw.framework.javadsl.JComponentInfo$
Helper instance for Java to create
ComponentInfo
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JComponentInfo$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfrom
(Prefix prefix, ComponentType componentType, String className, LocationServiceUsage locationServiceUsage, Set<Connection> connections, Duration initializeTimeout) The information needed to create a component.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
JComponentInfo$
public JComponentInfo$()
-
-
Method Details
-
from
public 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 withsubsystem
andname
componentType
- the type of the component as defined byComponentType
className
- 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
-