Class RWTSessionProvider
- java.lang.Object
-
- org.eclipse.emf.ecp.core.rap.sessionprovider.rwt.RWTSessionProvider
-
- All Implemented Interfaces:
SessionProvider
public class RWTSessionProvider extends java.lang.Object implements SessionProvider
This class provides the current session ID.- Author:
- neilmack
-
-
Constructor Summary
Constructors Constructor Description RWTSessionProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getSessionId()
get the current sessions ID.void
registerListenerWithSession(org.eclipse.rap.rwt.service.UISessionListener listener)
registers a listener to the current RAP UI session.
-
-
-
Method Detail
-
getSessionId
public final java.lang.String getSessionId()
get the current sessions ID.- Specified by:
getSessionId
in interfaceSessionProvider
- Returns:
- the current sessions ID
-
registerListenerWithSession
public void registerListenerWithSession(org.eclipse.rap.rwt.service.UISessionListener listener)
registers a listener to the current RAP UI session.- Specified by:
registerListenerWithSession
in interfaceSessionProvider
- Parameters:
listener
- The UISessionListener to register- See Also:
SessionProvider.registerListenerWithSession(org.eclipse.rap.rwt.service.UISessionListener)
-
-