DDTH / ddth-kafka

DDTH's Apache Kafka Libraries and Utilities
MIT License
9 stars 4 forks source link

osgi Bundle activator #5

Closed MarcoFierimonte closed 5 years ago

MarcoFierimonte commented 8 years ago

Hi btnguyen2k,

how can I implement BundleActivator class in your ddth-kafka bundle? Do I need to import org.osgi.core libraries?

Thanks. Marco

btnguyen2k commented 8 years ago

Hi @MarcoFierimonte,

Sample of (simple) steps:

For quick OSGi Bundle testing, you can drop your bundle(s) into a simple OSGi server (https://github.com/DDTH/osgiserver) and see if everything works well.

Regards, Thanh Nguyen