This repository has been archived by the owner on Jan 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Console commands
Chuck Dumont edited this page May 23, 2014
·
19 revisions
When the Aggregator bundle is activated, it registers a CommandProvider that responds to commands entered in the OSGi console beginning with the token 'aggregator'. The CommandProvider supports the following commands:
Note: The Aggregator supports the use of the felix gogo command processor if it is available. When using this command processor, the syntax for invoking Aggregator commands is slightly different, using a colon instead of a space between the service identifier (aggregator) and the command token. For example, the command to list the active servlets would be aggregator:list
instead of aggregator list
.
Command | Description |
---|---|
aggregator help
|
Displays a list of Aggregator commands and their function |
aggregator list
|
Lists the names of the currently active servlets. In order for a servlet to be a member of this list, it must have been started. |
aggregator reloadconfig <servlet>
|
Reloads the server-side AMD config for the specified servlet. |
aggregator validatedeps <servlet> [clean]
|
Validates the module dependency graph by by scanning module last modified dates looking for new/removed/modified modules and updates the dependency graph as needed. If the clean parameter is specified, then the dependency graph is built from scratch and all the modules will be opened and parsed to determine each module's dependencies. |
aggregator getdeps <servlet> <module> [<feature list>]
|
Lists the expanded set of dependencies for the specified module on the specified servlet. If a feature list is specified, then the feature list will be used in resolving module dependency chains involving modules using the has! loader plugin. Features are specified as a comma separated list of feature names. If the feature name is preceded by a !, then the feature value is false, otherwise, the value is true. |
aggregator clearcache <servlet>
|
Clears the Aggregator cache for the specified servlet. |
aggregator dumpcache <servlet> <regexp>
|
Dumps details about the Aggregator cache for the specified servlet. If a regular expression is specified, then only cache entries matching the regular expression will be displayed. |
<code">aggregator getoptions <servlet> | Lists the currently defined Aggregator options and their values. |
aggregator setoption <servlet> <propname> <propvalue>
|
Sets the specified option to the specifaied value. The new value is persisted to aggregator.properties in the home directory of the user that launched the server, and so will persist across server restarts. |
aggregator getconfig <servlet>
|
Displays the string representation of the evaluated server-side config |