|
felix.jar
|
|
java -jar bin/felix.jar
|
|
org.eclipse.osgi_3.2.0.jar
|
|
java -jar org.eclipse.osgi_3.2.0.jar –console
|
|
Install
Resolved
Uninstall
Start
Active
Stop
|
|
felix:install file:/path/to/bundle/bundle.jar
felix:start file:/path/to/bundle/bundle.jar
felix:stop file:/path/to/bundle/bundle.jar
felix:update file:/path/to/bundle/bundle.jar
felix:uninstall file:/path/to/bundle/bundle.jar
|
|
$ cd felix-framework-3.0.0
$ java -jar bin/felix.jar
_______________
Welcome to Apache Felix Gogo
g! lb START LEVEL 1 ID|State |Level|Name 0|Active | 0|System Bundle (3.0.0) 1|Active | 1|Apache Felix Bundle Repository (1.6.2) 2|Active | 1|Apache Felix Gogo Command (0.6.0) 3|Active | 1|Apache Felix Gogo Runtime (0.6.0) 4|Active | 1|Apache Felix Gogo Shell (0.6.0) 5|Installed | 1|Example Bundle (1.0.0) g! start 5 Hello from Bundle 5. g! |
|
install <bundle URL>
Installs the bundle from the given URL
start <bundle # or bundle name>
Starts the bundle with the given numeric or symbolic id
stop <bundle # or bundle name>
Stops the bundle with the given numeric or symbolic id
ss
Reports a summary status of all installed bundles
diag <bundle # or bundle name>
Reports any resolution problems for the bundle with the given numeric or symbolic id
|
|
org.eclipse.equinox.console.jar
|
|
osgi> ss
"Framework is launched."
id State Bundle
0 ACTIVE org.eclipse.osgi_3.10.0.v20140606-1445
1 ACTIVE org.apache.felix.gogo.runtime_0.10.0.v201209301036
2 ACTIVE org.apache.felix.gogo.command_0.10.0.v201209301215
3 ACTIVE com.meera.sample.HelloWorld_1.0.0.qualifier
4 ACTIVE org.apache.felix.gogo.shell_0.10.0.v201212101605
5 ACTIVE org.eclipse.equinox.console_1.1.0.v20140131-1639
osgi> stop 3
Goodbye World!!
osgi> start 3
Hello World!!
Osgi
|
|
felix.jar
org.apache.felix.gogo.runtime.jar
org.apache.felix.gogo.command.jar
org.apache.felix.gogo.shell.jar
|
|
org.eclipse.osgi_3.10.0.jar
org.apache.felix.gogo.runtime.jar
org.apache.felix.gogo.command.jar
org.apache.felix.gogo.shell.jar
org.eclipse.equinox.console.jar
|
|
Apache Felix HTTP Service
Apache Felix Web Console
Apache Felix Log
|
|
Asynchronous Services and Promises Specification
Blueprint Specification
JTA Transaction Services Specification
JMX Management Model Specification
JNDI Services Specification
JPA Service Specification
Service Loader Mediator Specification
Subsystem Service Specification
|


