Package org.eclipse.emf.ecp.core.rap
Class ECPRepositoryManagerFactory
- java.lang.Object
-
- org.eclipse.emf.ecp.core.rap.ECPRepositoryManagerFactory
-
- All Implemented Interfaces:
java.io.Serializable
,org.eclipse.rap.rwt.service.UISessionListener
,org.eclipse.swt.internal.SerializableCompatibility
,org.osgi.framework.PrototypeServiceFactory<ECPRepositoryManager>
,org.osgi.framework.ServiceFactory<ECPRepositoryManager>
public class ECPRepositoryManagerFactory extends java.lang.Object implements org.osgi.framework.PrototypeServiceFactory<ECPRepositoryManager>, org.eclipse.rap.rwt.service.UISessionListener
This is the factory for creating the ECPRepositoryManager service.- Author:
- neilmack
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ECPRepositoryManagerFactory()
default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
init
public void init()
initialise the factory.
-
getService
public final ECPRepositoryManager getService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration<ECPRepositoryManager> registration)
this method returns the ECPRepositoryManager service for the current session. It is called by the OSGI framework.- Specified by:
getService
in interfaceorg.osgi.framework.PrototypeServiceFactory<ECPRepositoryManager>
- Specified by:
getService
in interfaceorg.osgi.framework.ServiceFactory<ECPRepositoryManager>
- Parameters:
bundle
- the OSGI bundleregistration
- the service registration- Returns:
- the service
-
ungetService
public 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.- Specified by:
ungetService
in interfaceorg.osgi.framework.PrototypeServiceFactory<ECPRepositoryManager>
- Specified by:
ungetService
in interfaceorg.osgi.framework.ServiceFactory<ECPRepositoryManager>
- Parameters:
bundle
- the OSGI bundleregistration
- the service registrationservice
- the service
-
beforeDestroy
public void beforeDestroy(org.eclipse.rap.rwt.service.UISessionEvent event)
- Specified by:
beforeDestroy
in interfaceorg.eclipse.rap.rwt.service.UISessionListener
- See Also:
UISessionListener.beforeDestroy(org.eclipse.rap.rwt.service.UISessionEvent)
-
-