public class ECPObserverBusFactory extends Object implements org.osgi.framework.PrototypeServiceFactory<ECPObserverBus>, org.eclipse.rap.rwt.service.UISessionListener
Constructor and Description |
---|
ECPObserverBusFactory()
default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
beforeDestroy(org.eclipse.rap.rwt.service.UISessionEvent event) |
ECPObserverBus |
getService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration<ECPObserverBus> registration)
this method returns the ECPObserverBus service for the current session.
|
void |
init()
initialise the factory.
|
void |
ungetService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration<ECPObserverBus> registration,
ECPObserverBus service)
this methodis called to unget a serive from a service registration.
|
public final void init()
public final ECPObserverBus getService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration<ECPObserverBus> registration)
getService
in interface org.osgi.framework.PrototypeServiceFactory<ECPObserverBus>
getService
in interface org.osgi.framework.ServiceFactory<ECPObserverBus>
bundle
- the OSGI bundleregistration
- the service registrationpublic void ungetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration<ECPObserverBus> registration, ECPObserverBus service)
ungetService
in interface org.osgi.framework.PrototypeServiceFactory<ECPObserverBus>
ungetService
in interface org.osgi.framework.ServiceFactory<ECPObserverBus>
bundle
- the OSGI bundleregistration
- the service registrationservice
- the observerbuspublic void beforeDestroy(org.eclipse.rap.rwt.service.UISessionEvent event)
beforeDestroy
in interface org.eclipse.rap.rwt.service.UISessionListener
UISessionListener.beforeDestroy(org.eclipse.rap.rwt.service.UISessionEvent)
Copyright © 2019. All rights reserved.