public class CreationInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.Object> |
args
The arguments (map with name/value pairs).
|
protected RequiredServiceBinding[] |
bindings
The bindings.
|
protected java.lang.String |
config
The configuration.
|
protected java.lang.String |
filename
The file name.
|
protected java.lang.String[] |
imports
The imports.
|
protected java.lang.String |
localtype
The local component type name.
|
protected IMonitoringService.PublishEventLevel |
monitoring |
protected java.lang.String |
name
The instance name.
|
protected ProvidedServiceInfo[] |
pinfos
The provided service infos.
|
protected java.lang.Object |
pojo
The pojo (optional).
|
protected IResourceIdentifier |
rid
The resource identifier.
|
protected java.lang.Boolean |
suspend
The suspend flag (default: false).
|
protected java.lang.Boolean |
synchronous
The synchronous flag (default: false).
|
Constructor and Description |
---|
CreationInfo()
Create a new creation info.
|
CreationInfo(CreationInfo info)
Create a new creation info.
|
CreationInfo(IResourceIdentifier rid)
Create a new creation info.
|
CreationInfo(java.util.Map<java.lang.String,java.lang.Object> args)
Create a new creation info.
|
CreationInfo(java.lang.String config,
java.util.Map<java.lang.String,java.lang.Object> args)
Create a new creation info.
|
CreationInfo(java.lang.String config,
java.util.Map<java.lang.String,java.lang.Object> args,
IResourceIdentifier rid)
Create a new creation info.
|
Modifier and Type | Method and Description |
---|---|
CreationInfo |
addArgument(java.lang.String key,
java.lang.Object arg)
Add one arguments.
|
java.util.Map<java.lang.String,java.lang.Object> |
getArguments()
Get the arguments.
|
java.lang.String |
getConfiguration()
Get the configuration.
|
java.lang.String |
getFilename()
Get the filename.
|
java.lang.String[] |
getImports()
Get the imports.
|
java.lang.String |
getLocalType()
Get the localtype.
|
IMonitoringService.PublishEventLevel |
getMonitoring()
Get the monitoring.
|
java.lang.String |
getName()
Get the instance name.
|
java.lang.Object |
getPojo()
Get the pojo.
|
ProvidedServiceInfo[] |
getProvidedServiceInfos()
Get the service infos.
|
RequiredServiceBinding[] |
getRequiredServiceBindings()
Get the bindings.
|
IResourceIdentifier |
getResourceIdentifier()
Get the resource identifier for loading the component model.
|
java.lang.Boolean |
getSuspend()
Get the suspend flag.
|
java.lang.Boolean |
getSynchronous()
Get the synchronous.
|
CreationInfo |
setArguments(java.util.Map<java.lang.String,java.lang.Object> args)
Set the arguments.
|
CreationInfo |
setConfiguration(java.lang.String config)
Set the configuration.
|
CreationInfo |
setFilename(java.lang.String filename)
Set the filename.
|
CreationInfo |
setFilenameClass(java.lang.Class<?> clazz)
Set the filename.
|
CreationInfo |
setImports(java.lang.String[] imports)
Set the imports
|
CreationInfo |
setLocalType(java.lang.String localtype)
Set the localtype.
|
CreationInfo |
setMonitoring(IMonitoringService.PublishEventLevel monitoring)
Set the monitoring.
|
CreationInfo |
setName(java.lang.String name)
Set the name.
|
CreationInfo |
setPojo(java.lang.Object pojo)
Set the pojo.
|
CreationInfo |
setProvidedServiceInfos(ProvidedServiceInfo[] pinfos)
Set the ProvidedServiceInfos.
|
CreationInfo |
setRequiredServiceBindings(RequiredServiceBinding[] bindings)
Set the bindings.
|
CreationInfo |
setResourceIdentifier(IResourceIdentifier rid)
Set the resource identifier for loading the component model.
|
CreationInfo |
setSuspend(java.lang.Boolean suspend)
Set the suspend flag.
|
CreationInfo |
setSynchronous(java.lang.Boolean synchronous)
Set the synchronous.
|
protected java.lang.String name
protected java.lang.String filename
protected java.lang.String config
protected java.util.Map<java.lang.String,java.lang.Object> args
protected IResourceIdentifier rid
protected java.lang.Boolean suspend
protected IMonitoringService.PublishEventLevel monitoring
protected java.lang.Boolean synchronous
protected java.lang.String[] imports
protected RequiredServiceBinding[] bindings
protected ProvidedServiceInfo[] pinfos
protected java.lang.String localtype
protected java.lang.Object pojo
public CreationInfo()
public CreationInfo(CreationInfo info)
public CreationInfo(java.util.Map<java.lang.String,java.lang.Object> args)
args
- The arguments.public CreationInfo(IResourceIdentifier rid)
rid
- The RID.public CreationInfo(java.lang.String config, java.util.Map<java.lang.String,java.lang.Object> args)
config
- The configuration.args
- The arguments.public CreationInfo(java.lang.String config, java.util.Map<java.lang.String,java.lang.Object> args, IResourceIdentifier rid)
public java.lang.String getConfiguration()
public CreationInfo setConfiguration(java.lang.String config)
config
- the config to set.public java.util.Map<java.lang.String,java.lang.Object> getArguments()
public CreationInfo setArguments(java.util.Map<java.lang.String,java.lang.Object> args)
args
- the args to setpublic CreationInfo addArgument(java.lang.String key, java.lang.Object arg)
key
- The key.arg
- The value.public IResourceIdentifier getResourceIdentifier()
public CreationInfo setResourceIdentifier(IResourceIdentifier rid)
rid
- the resource identifier to setpublic java.lang.Boolean getSuspend()
public CreationInfo setSuspend(java.lang.Boolean suspend)
suspend
- the suspend to set flagpublic java.lang.String[] getImports()
public CreationInfo setImports(java.lang.String[] imports)
imports
- The imports to set.public RequiredServiceBinding[] getRequiredServiceBindings()
public CreationInfo setRequiredServiceBindings(RequiredServiceBinding[] bindings)
bindings
- The bindings to set.public ProvidedServiceInfo[] getProvidedServiceInfos()
public CreationInfo setProvidedServiceInfos(ProvidedServiceInfo[] pinfos)
pinfos
- The ProvidedServiceInfo to set.public java.lang.String getLocalType()
public CreationInfo setLocalType(java.lang.String localtype)
localtype
- The localtype to set.public IMonitoringService.PublishEventLevel getMonitoring()
public CreationInfo setMonitoring(IMonitoringService.PublishEventLevel monitoring)
monitoring
- The monitoring to set.public java.lang.Boolean getSynchronous()
public CreationInfo setSynchronous(java.lang.Boolean synchronous)
synchronous
- The synchronous to set.public java.lang.String getFilename()
public CreationInfo setFilename(java.lang.String filename)
filename
- The filename to setpublic java.lang.String getName()
public CreationInfo setFilenameClass(java.lang.Class<?> clazz)
filename
- The filename to setpublic CreationInfo setName(java.lang.String name)
name
- the name to setpublic java.lang.Object getPojo()
public CreationInfo setPojo(java.lang.Object pojo)
pojo
- The pojo to set