use of com.canoo.dp.impl.server.client.ClientSessionProvider in project dolphin-platform by canoo.
the class CdiBeanFactory method createDolphinSession.
@Produces
@ClientScoped
public ClientSession createDolphinSession() {
final ClientSessionProvider provider = PlatformBootstrap.getServerCoreComponents().getInstance(ClientSessionProvider.class);
Assert.requireNonNull(provider, "provider");
return provider.getCurrentClientSession();
}
Aggregations