...
- Create a Java class that implements the Endpoint's business logic. Example: Creating a web service that external clients can invoke.
- Add Endpoint's business logic, invoking
CatalogFramework
calls as needed. Import the
packages to the bundle's manifest for run-time (in addition to any other required packages):Insert excerpt ApplicationName ApplicationName nopanel trueApplicationName Code Block xml xml Import-Package: ddf.catalog, ddf.catalog.*
Tip It is recommended to use the maven bundle plugin to create the Endpoint bundle's manifest as opposed to directly editing the manifest file.
- Retrieve an instance of
CatalogFramework
from the OSGi registry.- Check the Working with OSGi - Service Registry section for examples.
- Deploy the packaged service to
.Insert excerpt ApplicationName ApplicationName nopanel trueApplicationName - Check the Working with OSGi - Bundles section.
Tip | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Unlike other
|
...