Elffuss BraidHub

kikocis/java-driver public

a33a06b447d7 · 892 BRenderedRawPermalink
1# OSGi Example
2
3A simple example application that demonstrates using the Java Driver in
4an OSGi service.
5
6MailboxService is an activated service that uses Cassandra to
7persist a Mailbox by email address.
8
9## Usage
10
11To build the bundle and run tests execute the following maven task::
12
13 mvn integration-test -P short
14
15The short profile needs to be activated since the tests run under
16this group.
17
18After which the bundle jar will be present in the target/ directory.
19
20The project includes an integration test that verifies the service can
21be activated and used in an OSGi container. It also verifies that
22driver-core can be used in an OSGi container in the following
23configurations:
24
251. Default (default classifier with all dependencies)
262. Netty-Shaded (shaded classifier with all depedencies w/o Netty)
273. Guava 15 (default classifier with Guava 15.0)
284. Guava 16
295. Guava 17
306. Guava 18