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 java.lang.Boolean |
autoshutdown
The auto shutdown flag (default: false).
|
protected RequiredServiceBinding[] |
bindings
The bindings.
|
protected java.lang.String |
config
The configuration.
|
protected java.lang.Boolean |
daemon
The daemon flag (default: false).
|
protected java.lang.String[] |
imports
The imports.
|
protected java.lang.String |
localtype
The local component type name.
|
protected java.lang.Boolean |
master
The master flag (default: false).
|
protected IMonitoringService.PublishEventLevel |
monitoring |
protected IComponentIdentifier |
parent
The parent component.
|
protected java.lang.Boolean |
persistable
The persistable flag (default: false).
|
protected ProvidedServiceInfo[] |
pinfos
The provided service infos.
|
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(IComponentIdentifier parent)
Create a new creation info.
|
CreationInfo(IComponentIdentifier parent,
IResourceIdentifier rid)
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.util.Map<java.lang.String,java.lang.Object> args,
IComponentIdentifier parent)
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,
IComponentIdentifier parent)
Create a new creation info.
|
CreationInfo(java.lang.String config,
java.util.Map<java.lang.String,java.lang.Object> args,
IComponentIdentifier parent,
java.lang.Boolean suspend)
Create a new creation info.
|
CreationInfo(java.lang.String config,
java.util.Map<java.lang.String,java.lang.Object> args,
IComponentIdentifier parent,
java.lang.Boolean suspend,
java.lang.Boolean master)
Create a new creation info.
|
CreationInfo(java.lang.String config,
java.util.Map<java.lang.String,java.lang.Object> args,
IComponentIdentifier parent,
java.lang.Boolean suspend,
java.lang.Boolean master,
java.lang.Boolean daemon)
Create a new creation info.
|
CreationInfo(java.lang.String config,
java.util.Map<java.lang.String,java.lang.Object> args,
IComponentIdentifier parent,
java.lang.Boolean suspend,
java.lang.Boolean master,
java.lang.Boolean daemon,
java.lang.Boolean autoshutdown,
java.lang.Boolean synchronous,
java.lang.Boolean persistable,
IMonitoringService.PublishEventLevel monitoring)
Create a new creation info.
|
CreationInfo(java.lang.String config,
java.util.Map<java.lang.String,java.lang.Object> args,
IComponentIdentifier parent,
java.lang.Boolean suspend,
java.lang.Boolean master,
java.lang.Boolean daemon,
java.lang.Boolean autoshutdown,
java.lang.Boolean synchronous,
java.lang.Boolean persistable,
IMonitoringService.PublishEventLevel monitoring,
java.lang.String[] imports,
RequiredServiceBinding[] bindings,
IResourceIdentifier rid)
Create a new creation info.
|
CreationInfo(java.lang.String config,
java.util.Map<java.lang.String,java.lang.Object> args,
IComponentIdentifier parent,
java.lang.Boolean suspend,
java.lang.String[] imports)
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.Boolean |
getAutoShutdown()
Get the autoshutdown.
|
java.lang.String |
getConfiguration()
Get the configuration.
|
java.lang.Boolean |
getDaemon()
Get the daemon.
|
java.lang.String[] |
getImports()
Get the imports.
|
java.lang.String |
getLocalType()
Get the localtype.
|
java.lang.Boolean |
getMaster()
Get the master.
|
IMonitoringService.PublishEventLevel |
getMonitoring()
Get the monitoring.
|
IComponentIdentifier |
getParent()
Get the parent.
|
java.lang.Boolean |
getPersistable()
Get the persistable.
|
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.
|
void |
setArguments(java.util.Map<java.lang.String,java.lang.Object> args)
Set the arguments.
|
void |
setAutoShutdown(java.lang.Boolean autoshutdown)
Set the autoshutdown.
|
void |
setConfiguration(java.lang.String config)
Set the configuration.
|
void |
setDaemon(java.lang.Boolean daemon)
Set the daemon.
|
void |
setImports(java.lang.String[] imports)
Set the imports
|
void |
setLocalType(java.lang.String localtype)
Set the localtype.
|
void |
setMaster(java.lang.Boolean master)
Set the master.
|
void |
setMonitoring(IMonitoringService.PublishEventLevel monitoring)
Set the monitoring.
|
void |
setParent(IComponentIdentifier parent)
Set the parent.
|
void |
setPersistable(java.lang.Boolean persistable)
Set the persistable.
|
void |
setProvidedServiceInfos(ProvidedServiceInfo[] pinfos)
Set the ProvidedServiceInfos.
|
void |
setRequiredServiceBindings(RequiredServiceBinding[] bindings)
Set the bindings.
|
void |
setResourceIdentifier(IResourceIdentifier rid)
Set the resource identifier for loading the component model.
|
void |
setSuspend(java.lang.Boolean suspend)
Set the suspend flag.
|
void |
setSynchronous(java.lang.Boolean synchronous)
Set the synchronous.
|
protected java.lang.String config
protected java.util.Map<java.lang.String,java.lang.Object> args
protected IComponentIdentifier parent
protected IResourceIdentifier rid
protected java.lang.Boolean suspend
protected java.lang.Boolean master
protected java.lang.Boolean daemon
protected java.lang.Boolean autoshutdown
protected IMonitoringService.PublishEventLevel monitoring
protected java.lang.Boolean synchronous
protected java.lang.Boolean persistable
protected java.lang.String[] imports
protected RequiredServiceBinding[] bindings
protected ProvidedServiceInfo[] pinfos
protected java.lang.String localtype
public CreationInfo()
public CreationInfo(CreationInfo info)
public CreationInfo(IComponentIdentifier parent)
parent
- The parent of the component to be created.public CreationInfo(java.util.Map<java.lang.String,java.lang.Object> args)
args
- The arguments.public CreationInfo(IResourceIdentifier rid)
rid
- The RID.public CreationInfo(IComponentIdentifier parent, IResourceIdentifier rid)
parent
- The parent of the component to be created.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 CreationInfo(java.util.Map<java.lang.String,java.lang.Object> args, IComponentIdentifier parent)
args
- The arguments.parent
- The parent of the component to be created.public CreationInfo(java.lang.String config, java.util.Map<java.lang.String,java.lang.Object> args, IComponentIdentifier parent)
config
- The configuration.args
- The arguments.parent
- The parent of the component to be created.public CreationInfo(java.lang.String config, java.util.Map<java.lang.String,java.lang.Object> args, IComponentIdentifier parent, java.lang.Boolean suspend)
config
- The configuration.args
- The arguments.parent
- The parent of the component to be created.suspend
- The suspend flag.public CreationInfo(java.lang.String config, java.util.Map<java.lang.String,java.lang.Object> args, IComponentIdentifier parent, java.lang.Boolean suspend, java.lang.String[] imports)
config
- The configuration.args
- The arguments.parent
- The parent of the component to be created.suspend
- The suspend flag.imports
- The imports.public CreationInfo(java.lang.String config, java.util.Map<java.lang.String,java.lang.Object> args, IComponentIdentifier parent, java.lang.Boolean suspend, java.lang.Boolean master)
config
- The configuration.args
- The arguments.parent
- The parent of the component to be created.suspend
- The suspend flag.master
- The master flag.public CreationInfo(java.lang.String config, java.util.Map<java.lang.String,java.lang.Object> args, IComponentIdentifier parent, java.lang.Boolean suspend, java.lang.Boolean master, java.lang.Boolean daemon)
config
- The configuration.args
- The arguments.parent
- The parent of the component to be created.suspend
- The suspend flag.master
- The master flag.public CreationInfo(java.lang.String config, java.util.Map<java.lang.String,java.lang.Object> args, IComponentIdentifier parent, java.lang.Boolean suspend, java.lang.Boolean master, java.lang.Boolean daemon, java.lang.Boolean autoshutdown, java.lang.Boolean synchronous, java.lang.Boolean persistable, IMonitoringService.PublishEventLevel monitoring)
config
- The configuration.args
- The arguments.parent
- The parent of the component to be created.suspend
- The suspend flag.master
- The master flag.public CreationInfo(java.lang.String config, java.util.Map<java.lang.String,java.lang.Object> args, IComponentIdentifier parent, java.lang.Boolean suspend, java.lang.Boolean master, java.lang.Boolean daemon, java.lang.Boolean autoshutdown, java.lang.Boolean synchronous, java.lang.Boolean persistable, IMonitoringService.PublishEventLevel monitoring, java.lang.String[] imports, RequiredServiceBinding[] bindings, IResourceIdentifier rid)
config
- The configuration.args
- The arguments.parent
- The parent of the component to be created.suspend
- The suspend flag.master
- The master flag.imports
- The imports.public java.lang.String getConfiguration()
public void setConfiguration(java.lang.String config)
config
- the config to set.public java.util.Map<java.lang.String,java.lang.Object> getArguments()
public void 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 IComponentIdentifier getParent()
public void setParent(IComponentIdentifier parent)
parent
- the parent to setpublic IResourceIdentifier getResourceIdentifier()
public void setResourceIdentifier(IResourceIdentifier rid)
rid
- the resource identifier to setpublic java.lang.Boolean getSuspend()
public void setSuspend(java.lang.Boolean suspend)
suspend
- the suspend to set flagpublic java.lang.Boolean getMaster()
public void setMaster(java.lang.Boolean master)
master
- The master to set.public java.lang.Boolean getDaemon()
public void setDaemon(java.lang.Boolean daemon)
daemon
- The daemon to set.public java.lang.Boolean getAutoShutdown()
public void setAutoShutdown(java.lang.Boolean autoshutdown)
autoshutdown
- The autoshutdown to set.public java.lang.String[] getImports()
public void setImports(java.lang.String[] imports)
imports
- The imports to set.public RequiredServiceBinding[] getRequiredServiceBindings()
public void setRequiredServiceBindings(RequiredServiceBinding[] bindings)
bindings
- The bindings to set.public ProvidedServiceInfo[] getProvidedServiceInfos()
public void setProvidedServiceInfos(ProvidedServiceInfo[] pinfos)
pinfos
- The ProvidedServiceInfo to set.public java.lang.String getLocalType()
public void setLocalType(java.lang.String localtype)
localtype
- The localtype to set.public IMonitoringService.PublishEventLevel getMonitoring()
public void setMonitoring(IMonitoringService.PublishEventLevel monitoring)
monitoring
- The monitoring to set.public java.lang.Boolean getSynchronous()
public void setSynchronous(java.lang.Boolean synchronous)
synchronous
- The synchronous to set.public java.lang.Boolean getPersistable()
public void setPersistable(java.lang.Boolean persistable)
persistable
- The persistable to set.