public class ECPProviderRegistryFactory extends Object implements org.osgi.framework.ServiceFactory<ECPProviderRegistry>, org.eclipse.rap.rwt.service.UISessionListener
Constructor and Description |
---|
ECPProviderRegistryFactory()
default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
beforeDestroy(org.eclipse.rap.rwt.service.UISessionEvent event) |
ECPProviderRegistry |
getService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration<ECPProviderRegistry> registration)
this method returns the ECPProviderRegistry service for the current session.
|
void |
init()
initialise the factory.
|
void |
ungetService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration<ECPProviderRegistry> registration,
ECPProviderRegistry service)
this method is called to unget a service from a service registration.
|
public ECPProviderRegistryFactory()
public void init()
public ECPProviderRegistry getService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration<ECPProviderRegistry> registration)
getService
in interface org.osgi.framework.ServiceFactory<ECPProviderRegistry>
bundle
- the OSGI bundleregistration
- the service registrationpublic void ungetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration<ECPProviderRegistry> registration, ECPProviderRegistry service)
ungetService
in interface org.osgi.framework.ServiceFactory<ECPProviderRegistry>
bundle
- the OSGI bundleregistration
- the service registrationservice
- the servicepublic 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 © 2016. All rights reserved.