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