6.3. Adding new Orchestra services implementations
| Chapter 6. Developer's guide |

## 6.3. Adding new Orchestra services implementations

Orchestra uses OSGi services to find extensions. To find services implementations, Orchestra use org.ow2.orchestra.osgi.OrchestraExtensionService services. These services simply return the classes to use in orchestra.

To use your own implementation of a service, you need to package it in an OSGi bundle. The bundle should export a org.ow2.orchestra.osgi.OrchestraExtensionService service. The implementation of the method getExtension(className) should return the extension class when the className is the name of the extension, null otherwise.

org.ow2.orchestra.osgi.ExtensionActivator class provides a base for registering extensions. See javadoc for more details on how to use this class.

6.2. Orchestra Client jar |  |