All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.spincast.plugins.session.SpincastSessionFactory Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version
package org.spincast.plugins.session;

import java.time.Instant;

import org.spincast.core.json.JsonObject;

import com.google.inject.assistedinject.Assisted;

public interface SpincastSessionFactory {

    /**
     * Creates a new session.
     * 

* {@link SpincastSession#isNew()} will return * true. */ public SpincastSession createNewSession(); /** * Creates a session from saved infos. */ public SpincastSession createSession(@Assisted("sessionId") String sessionId, @Assisted("creationDate") Instant creationDate, @Assisted("modificationDate") Instant modificationDate, @Assisted("attributes") JsonObject attributes); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy