com.github.dynamicextensionsalfresco.event.impl.Activator.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of event-bus Show documentation
Show all versions of event-bus Show documentation
Adds an OSGi container to alfresco repository supporting dynamic code reloading, classpath isolation and a bunch of other useful features
package com.github.dynamicextensionsalfresco.event.impl
import com.github.dynamicextensionsalfresco.event.EventBus
import org.osgi.framework.BundleActivator
import org.osgi.framework.BundleContext
/**
* @author Laurent Van der Linden
*/
public class Activator : BundleActivator {
@Throws(Exception::class)
override fun start(context: BundleContext) {
context.registerService(EventBus::class.java, DefaultEventBus(context), null)
}
@Throws(Exception::class)
override fun stop(context: BundleContext) {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy