|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.ecp.core.rap.sessionprovider.test.MockSessionProvider
public class MockSessionProvider
This s a mock session provider for testing, it does not recieve a web session.
| Nested Class Summary | |
|---|---|
static class |
MockSessionProvider.SessionProviderType
|
| Constructor Summary | |
|---|---|
MockSessionProvider()
default constructor. |
|
| Method Summary | |
|---|---|
static MockSessionProvider |
getInstance()
returns the provider instance. |
String |
getSessionId()
get the current sessions ID. |
static void |
setSessionProvider(MockSessionProvider.SessionProviderType type)
sets the type of the session provider. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MockSessionProvider()
| Method Detail |
|---|
public static MockSessionProvider getInstance()
public static void setSessionProvider(MockSessionProvider.SessionProviderType type)
type - the typepublic final String getSessionId()
SessionProvider
getSessionId in interface SessionProvider
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||