|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.frameworks.portletcontainer.portalframework.replication.SessionReplicator
public class SessionReplicator
Session replicator class.
| Field Summary | |
|---|---|
static String |
PORTAL_IDENTIFIER
Portal identifier. |
static String |
REPLICATOR_IDENTIFIER
Portal identifier. |
static String |
SESSION_IDENTIFIER
Session identifier. |
| Constructor Summary | |
|---|---|
SessionReplicator(org.exoplatform.container.xml.InitParams params)
Sends session info to other nodes. |
|
| Method Summary | |
|---|---|
Object |
handle(org.jgroups.Message msg)
Receives remote session infos and updates local data. |
void |
init()
|
void |
send(String sessionId,
String portalContainerName,
Map<String,Object> sessionInfo)
|
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SESSION_IDENTIFIER
public static final String PORTAL_IDENTIFIER
public static final String REPLICATOR_IDENTIFIER
| Constructor Detail |
|---|
public SessionReplicator(org.exoplatform.container.xml.InitParams params)
sessionId - http session idportalContainerName - portal container namesessionInfo - session info
Exception - something may go wrong| Method Detail |
|---|
public final void send(String sessionId,
String portalContainerName,
Map<String,Object> sessionInfo)
throws Exception
Exceptionpublic final Object handle(org.jgroups.Message msg)
handle in interface org.jgroups.blocks.RequestHandlermsg - message received
public void init()
public void start()
start in interface org.picocontainer.Startablepublic void stop()
stop in interface org.picocontainer.Startable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||