Package jadex.bridge.component
Class ComponentCreationInfo
- java.lang.Object
-
- jadex.bridge.component.ComponentCreationInfo
-
public class ComponentCreationInfo extends java.lang.Object
Internal parameter object for data required during component initialization.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.String,java.lang.Object>
arguments
The arguments.protected RequiredServiceBinding[]
bindings
The required service bindings.protected java.lang.String
config
The start configuration name.protected IComponentDescription
desc
The component description.protected ProvidedServiceInfo[]
infos
The provided service infos.protected IModelInfo
model
The model.
-
Constructor Summary
Constructors Constructor Description ComponentCreationInfo(IModelInfo model, java.lang.String config, java.util.Map<java.lang.String,java.lang.Object> arguments, IComponentDescription desc, ProvidedServiceInfo[] infos, RequiredServiceBinding[] bindings)
Create an info object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
getArguments()
Get the arguments.IComponentDescription
getComponentDescription()
Get the component description.java.lang.String
getConfiguration()
Get the configuration.IModelInfo
getModel()
Get the model.ProvidedServiceInfo[]
getProvidedServiceInfos()
Get the provided service infos.RequiredServiceBinding[]
getRequiredServiceBindings()
Get the bindings.
-
-
-
Field Detail
-
model
protected IModelInfo model
The model.
-
config
protected java.lang.String config
The start configuration name.
-
arguments
protected java.util.Map<java.lang.String,java.lang.Object> arguments
The arguments.
-
desc
protected IComponentDescription desc
The component description.
-
infos
protected ProvidedServiceInfo[] infos
The provided service infos.
-
bindings
protected RequiredServiceBinding[] bindings
The required service bindings.
-
-
Constructor Detail
-
ComponentCreationInfo
public ComponentCreationInfo(IModelInfo model, java.lang.String config, java.util.Map<java.lang.String,java.lang.Object> arguments, IComponentDescription desc, ProvidedServiceInfo[] infos, RequiredServiceBinding[] bindings)
Create an info object.- Parameters:
model
- The model (required).config
- The configuration name or null for default (if any).arguments
- The arguments (if any).desc
- The component description (required).registry
- The service registry of the local platform.realtime
- The real time flag.copy
- The copy flag.
-
-
Method Detail
-
getModel
public IModelInfo getModel()
Get the model.
-
getConfiguration
public java.lang.String getConfiguration()
Get the configuration.
-
getArguments
public java.util.Map<java.lang.String,java.lang.Object> getArguments()
Get the arguments.
-
getComponentDescription
public IComponentDescription getComponentDescription()
Get the component description.
-
getProvidedServiceInfos
public ProvidedServiceInfo[] getProvidedServiceInfos()
Get the provided service infos.- Returns:
- The provided service infos..
-
getRequiredServiceBindings
public RequiredServiceBinding[] getRequiredServiceBindings()
Get the bindings.- Returns:
- The bindings.
-
-