The features
subshell provides commands to provision entire applications,
enabling you to add and remove features and to point to feature repositories. Features allow
you to load a collection of bundles using a single name. You can use the features shell to
add XML feature descriptors to the container. Each descriptor defines one or more features,
and each feature is made up of a collection of bundles that work together to provide some functionality. When a feature is loaded, the container loads any required bundles that are not already present into the container and activates them.
Type features
at the smx@root>
prompt to open the
subshell. Type help
at the prompt to view the available commands (see Accessing the root commands).
Table 6.1 lists the commands available in the subshell. The commands are described in the sections that follow.
Table 6.1. Features Console Commands
Command | Description |
---|---|
addUrl | Adds a list of repository URLs to the features service |
install | Installs a feature |
list | Lists the existing features |
listUrl | Displays the repository URLs currently associated with the features service |
refreshUrl | Reloads the repositories to obtain a fresh list of features |
removeUrl | Removes a list of repository URLs from the features service |
uninstall | Uninstalls a feature |