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