The assembly
program provides one piece of infrastructure
that is missing in the standard MicoCCM distribution. While the
MicoCCM Daemon mico-ccmd
implements the AssemblyFactory
interface, it requires this tool as an implementation of the Assembly
interface.
The Assembly and Deployment Toolkit do not depend on
assembly
, as the deployment option in the Assembly Tool
and the Deployment Tool interact with the ComponentServer
directly. This implementation of the Assembly interface is
complementary, and can be used optionally to support the full range of
the CORBA Component Packaging and Deployment interface chain.
The assembly
program is usually spawned from the MicoCCM
Daemon as result of a create
operation on the
AssemblyFactory interface. Therefore, if you want to make use of the
Assembly interface, you should make sure that assembly
is
found by the running instance of mico-ccmd
.
Optionally, assembly
can also be run as a standalone
program to host an Assembly, providing a CORBA interface to start
(build) and stop (tear_down) components within that Assembly.
assembly [<options>] <archive>
archive
can be a file name or URL of an Assembly Archive
(.aar) or CORBA Assembly Descriptor (.cad). The program will then
listen for invocations of its Assembly interface (see the CORBA
Components specification for details).
The following options are accepted:
--ccmd <IOR>
--host <host>[:portno]
localhost:1234
, and
assumes that mico-ccmd
has been started with the
command-line option -ORBIIOPAddr inet::1234
.
--dont-call-configuration-complete
configuration_complete
operation
is called on each deployed component to indicate the end of
configuration and the start of normal operation. Use this
option if this behavior is not desired.
--collocated
--token <name>
--autoexit
tear_down
operation of the Assembly
interface. When run from the MicoCCM Daemon, the program is
usually stopped as the result of the destroy
operation of the AssemblyFactory interface. This option may
make for more desirable behavior as a standalone program.
--ior <file>
-ORBInitRef NameService=<url>
-v
Frank Pilhofer, fp@fpx.de