| FW Group Command |
Shortcut |
Description |
csg |
- |
Clears the uninstalled bundles and unused data from
the framework storage (the bin/vms/<vm_name>storage). |
debug [<level> [ <level>]
|<options>] |
d |
Switches on the debug levels:
| 0 |
No debug |
| 1 |
Debug of Framework core |
| 2 |
Debug of Package Manager |
| 3 |
Debug of Service Manager |
| 4 |
Debug of Event Manager |
| 5 |
Debug of Bundle Manager |
| 6 |
Debug about class loading in the used Class Provider |
| 7 |
Debug of Storage |
| 8 |
Debug about loading the boot INI |
| 9 |
Debug of available URL Handlers |
| 10 |
Basic debug of security |
| 11 |
Intermediate debug of security |
| 12 |
Full debug of security |
| 13 |
Debug of Resource Manager |
| 14 |
Debug of start levels management |
| 15 |
Debug of Framework Access service |
| 16 |
Debug of Fault Manager |
| 17 |
Debug of Certificate Manager |
To switch on all debug levels, use the -a, -A option.
To view the current debug mode, use debug with no parameters. |
extinfo <ID> |
ei |
Prints information about associated fragments for a specified host bundle or about the relevant host for specified fragment bundle. |
install [options] <URL>[ <URL>] |
i |
Installs a bundle from an URL or JAR file in the local
system. The options that this command supports are:
-s |
Starts the bundle right after it has been installed. |
-S |
Starts the bundle after all other bundles that
are in a process of installation, are installed. |
-f |
Installs the bundles "from file" without
copying its JAR file in the framework persistent storage area. |
-l |
Starts the bundle taking into account registered lazy services or declared lazy start conditions. |
-d <dir_name> |
Installs the bundle "from file" storing it in the specified destination - the bundle JAR file is placed in a bundles subdirectory and the manifest and data files - in a data directory. It is not necessary to additionally specify the -f option along with this install command option. |
|
list [options] |
ls |
Lists all bundles on the framework
displaying their bundle IDs, states and the names of the JAR files.
This command supports the following options:
-i, -I |
Lists bundles by ID (default mode). |
-sn, -SN |
Lists bundles with their symbolic names and versions. |
-n, -N |
Lists bundles by name. |
-l, -L |
Lists bundles with their full locations as passed
at installation. |
-b, -B |
Lists bundles in reverse manner. Should be used
with one of the first four option. |
-s, -S |
Sorts bundles in conventional manner. Should be
used with one of the first four option. |
-c, -C |
Ignores the case of the sorting criterion. Should be used with one of the first four options. |
|
pkginfo [<package>[ <package>]] |
- |
Shows the dependencies of the specified package(s).
If there are no parameters, you receive information about all packages
available in the framework. |
manifest <ID>[ <ID>] |
mf |
Displays the information in the manifest file(s) of
the bundle(s) with the specified bundle ID(s) or URLs. |
refreshpackages <ID>[ <ID>] |
rp |
Refreshes the packages exported by the bundle(s) with
the specified ID(s) or URLs. |
required <symbolic_name> |
rq |
Shows the required bundles with the specified symbolic name. |
resolve <ID>[ <ID>] |
r |
Tries to resolve the bundle with the specified ID. |
restart [options] <ID>[ <ID>] |
rs |
Restarts the bundle(s) with the specified bundle ID(s)
or URLs. The options of this command are -o and -O.
Both stand for restarting the bundles in the specified order. |
services [options] <ID>[ <ID>] |
serv |
Lists the services of the specified bundle(s). The
services command has the options:
-p, -P |
Shows information about the service properties
defined at registration. |
-b, -B |
Shows the bundles that use the services of the
specified bundle. |
-u, -U |
Shows the services used by the specified bundle. |
|
start [options] <ID>[ <ID>] |
- |
Starts the bundle(s) with the specified bundle ID(s).
The start command takes the -l option, which starts the bundle(s) by preserving its (their) lazy features if any. |
stop <ID>[ <ID>] |
- |
Stops the bundle(s) with the specified bundle ID(s).
|
startlevel [options] <ID> [<level>] |
sl |
Changes the start level of the framework
or of the bundle with the specified ID or URL. If no level is entered,
then only shows the bundle start level. This command has the following
options:
-fwsl [level] |
Changes the start level of the framework to the
specific one. If no level is entered, the command shows the
start level of the framework. |
-ibsl [level] |
Changes the initial start level of bundles. If
no level is provided, the command prints the current initial
bundle start level. |
|
svcinfo <service_class> |
si |
Prints extensive information about the service objects implementing the specified class. |
sysmode |
sm |
Enables or disables operations on the system
bundles (they have the system category). |
uninstall <ID>[ <ID>] |
un |
Uninstalls the bundle(s) with the specified bundle ID(s).
|
update [options] <ID>[ <ID>] |
up |
Updates the specified bundle(s)
without stopping the framework. This command has the following options:
-k, -K |
Preserves the old bundle data in the storage when
the bundle is updated. |
-l:<URL> |
Updates the bundle from the specified URL. |
|
updatemode <mode> |
um |
Changes the update mode.
It can be lazy and eager.
In eager mode, when a bundle is updated,
the framework restarts all bundles that are dependent on it.
In lazy mode, when a bundle is updated,
none of its dependent bundles is restarted. This mode saves resources
and memory. |