Aggregator for ScalaModules OSGi-fied Scala Libraries

ScalaModules is a Scala DSL to ease OSGi development.

License

License

Categories

Categories

Scala Languages CLI User Interface
GroupId

GroupId

org.eclipse.scalamodules
ArtifactId

ArtifactId

scalaosgi
Last Version

Last Version

2.0-M2
Release Date

Release Date

Type

Type

pom
Description

Description

Aggregator for ScalaModules OSGi-fied Scala Libraries
ScalaModules is a Scala DSL to ease OSGi development.
Project URL

Project URL

http://www.eclipse.org/scalamodules/scalaosgi
Project Organization

Project Organization

WeigleWilczek

Download scalaosgi

Filename Size
scalaosgi-2.0-M2.pom 2 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/org.eclipse.scalamodules/scalaosgi/ -->
<dependency>
    <groupId>org.eclipse.scalamodules</groupId>
    <artifactId>scalaosgi</artifactId>
    <version>2.0-M2</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/org.eclipse.scalamodules/scalaosgi/
implementation 'org.eclipse.scalamodules:scalaosgi:2.0-M2'
// https://jarcasting.com/artifacts/org.eclipse.scalamodules/scalaosgi/
implementation ("org.eclipse.scalamodules:scalaosgi:2.0-M2")
'org.eclipse.scalamodules:scalaosgi:pom:2.0-M2'
<dependency org="org.eclipse.scalamodules" name="scalaosgi" rev="2.0-M2">
  <artifact name="scalaosgi" type="pom" />
</dependency>
@Grapes(
@Grab(group='org.eclipse.scalamodules', module='scalaosgi', version='2.0-M2')
)
libraryDependencies += "org.eclipse.scalamodules" % "scalaosgi" % "2.0-M2"
[org.eclipse.scalamodules/scalaosgi "2.0-M2"]

Dependencies

provided (1)

Group / Artifact Type Version
org.scala-lang : scala-compiler jar 2.8.0.Beta1

Project Modules

  • scalamodules-scala-library

ScalaModules

ScalaModules is an elegant and intuitive domain specific language for OSGi development written in the Scala programming language.

Why would you need such a DSL? Because the OSGi API is rather low-level so that programming simple tasks, e.g. consuming an OSGi service, can be quite cumbersome. ScalaModules offers high-level abstractions for the most important OSGi concepts so that you can focus on what is to be done instead of how it should be done. Let’s look at a simple example:

context findServices withInterface[Greeting] withFilter "style".present andApply {
  (greeting, properties) => "%s: %s".format(properties("style"), greeting.welcome)
} match {
  case Nil => println("No Greeting service available!")
  case welcomes => welcomes foreach println
}

For further information please visit our Wiki or take a look at the examples.

ScalaModules is open source software licensed under the Apache 2.0 License. Just use it!

Versions

Version
2.0-M2
2.0-M1